liutongfeng created ATLAS-410:
---------------------------------

             Summary: Atlas throw an 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


{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
(v6.3.4#6332)

Reply via email to