You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Madhan Neethiraj (Jira)" <ji...@apache.org> on 2020/05/18 01:50:00 UTC

[jira] [Resolved] (ATLAS-410) Atlas throw an exception in the shutdown process

     [ https://issues.apache.org/jira/browse/ATLAS-410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Madhan Neethiraj resolved ATLAS-410.
------------------------------------
    Resolution: Abandoned

The referenced code doesn't exist in Atlas any more.

> Atlas throw an exception in the shutdown process
> ------------------------------------------------
>
>                 Key: ATLAS-410
>                 URL: https://issues.apache.org/jira/browse/ATLAS-410
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: liutongfeng
>            Priority: Major
>
> {noformat}
> 2015-12-22 16:23:36,240 INFO  - [pool-8-thread-1:] ~ Atlas Server is ready, can start reading Kafka events. (NotificationHookConsumer:172)
> 2015-12-22 16:25:00,182 INFO  - [Thread-0:] ~ Stopped ServerConnector@56fc4a8d{HTTP/1.1}{0.0.0.0:21000} (ServerConnector:306)
> 2015-12-22 16:25:00,229 INFO  - [SIGTERM handler:] ~ [Torpedo] stopping ... (node:114)
> 2015-12-22 16:25:00,238 INFO  - [SIGTERM handler:] ~ [Torpedo] stopped (node:114)
> 2015-12-22 16:25:00,239 INFO  - [SIGTERM handler:] ~ [Torpedo] closing ... (node:114)
> 2015-12-22 16:25:00,241 INFO  - [SIGTERM handler:] ~ [Torpedo] closed (node:114)
> 2015-12-22 16:25:00,243 WARN  - [Thread-0:] ~ Failed to remove shutdown hook (StandardTitanGraph:194)
> java.lang.IllegalStateException: Shutdown in progress
>         at java.lang.ApplicationShutdownHooks.remove(ApplicationShutdownHooks.java:82)
>         at java.lang.Runtime.removeShutdownHook(Runtime.java:239)
>         at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.removeHook(StandardTitanGraph.java:192)
>         at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.shutdown(StandardTitanGraph.java:160)
>         at org.apache.atlas.web.listeners.GuiceServletConfig.contextDestroyed(GuiceServletConfig.java:151)
>         at org.eclipse.jetty.server.handler.ContextHandler.callContextDestroyed(ContextHandler.java:808)
>         at org.eclipse.jetty.servlet.ServletContextHandler.callContextDestroyed(ServletContextHandler.java:457)
>         at org.eclipse.jetty.server.handler.ContextHandler.doStop(ContextHandler.java:842)
>         at org.eclipse.jetty.servlet.ServletContextHandler.doStop(ServletContextHandler.java:215)
>         at org.eclipse.jetty.webapp.WebAppContext.doStop(WebAppContext.java:529)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:143)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:162)
>         at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:73)
>         at org.eclipse.jetty.server.Server.doStop(Server.java:456)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
>         at org.apache.atlas.web.service.EmbeddedServer.stop(EmbeddedServer.java:94)
>         at org.apache.atlas.Atlas.shutdown(Atlas.java:64)
>         at org.apache.atlas.Atlas.access$000(Atlas.java:38)
>         at org.apache.atlas.Atlas$1.run(Atlas.java:55)
> 2015-12-22 16:25:00,248 DEBUG - [Thread-0:] ~ Stopping services (GuiceServletConfig:159)
> 2015-12-22 16:25:00,248 DEBUG - [Thread-0:] ~ Stopping service org.apache.atlas.kafka.KafkaNotification (Services:55)
> 2015-12-22 16:25:00,249 INFO  - [Thread-0:] ~ [Kafka Server 1], shutting down (KafkaServer:68)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)