atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ayub Khan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ATLAS-1047) Atlas startup failed with ZkTimeoutException exception
Date Mon, 25 Jul 2016 09:37:20 GMT
Ayub Khan created ATLAS-1047:
--------------------------------

             Summary: Atlas startup failed with ZkTimeoutException exception
                 Key: ATLAS-1047
                 URL: https://issues.apache.org/jira/browse/ATLAS-1047
             Project: Atlas
          Issue Type: Bug
    Affects Versions: trunk
            Reporter: Ayub Khan


Atlas failed to comeup with below exception and after restart Atlas start up succeeded.

*Please note, this issue is not reproducible as of now, so I have kept the  as Major*
{noformat}
2016-07-25 07:20:46,432 WARN  - [main:] ~ Failed startup of context o.e.j.w.WebAppContext@3b8837fa{/,file:/grid/0/hdp/2.5.0.0-1061/atlas/server/webapp/atlas/,STARTING}{/usr/hdp/current/atlas-server/server/webapp/atlas}
(WebAppContext:514)
java.lang.RuntimeException: org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect
to zookeeper server within timeout: 200
        at org.apache.atlas.service.Services.start(Services.java:48)
        at org.apache.atlas.web.listeners.GuiceServletConfig.startServices(GuiceServletConfig.java:142)
        at org.apache.atlas.web.listeners.GuiceServletConfig.contextInitialized(GuiceServletConfig.java:136)
        at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)
        at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)
        at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)
        at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)
        at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
        at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
        at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
        at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
        at org.eclipse.jetty.server.Server.start(Server.java:387)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
        at org.eclipse.jetty.server.Server.doStart(Server.java:354)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.apache.atlas.web.service.EmbeddedServer.start(EmbeddedServer.java:93)
        at org.apache.atlas.Atlas.main(Atlas.java:113)
Caused by: org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper
server within timeout: 200
        at org.I0Itec.zkclient.ZkClient.connect(ZkClient.java:1232)
        at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:156)
        at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:130)
        at kafka.utils.ZkUtils$.createZkClientAndConnection(ZkUtils.scala:75)
        at kafka.utils.ZkUtils$.apply(ZkUtils.scala:57)
        at kafka.consumer.ZookeeperConsumerConnector.connectZk(ZookeeperConsumerConnector.scala:207)
        at kafka.consumer.ZookeeperConsumerConnector.<init>(ZookeeperConsumerConnector.scala:155)
        at kafka.javaapi.consumer.ZookeeperConsumerConnector.<init>(ZookeeperConsumerConnector.scala:66)
        at kafka.javaapi.consumer.ZookeeperConsumerConnector.<init>(ZookeeperConsumerConnector.scala:69)
        at kafka.consumer.Consumer$.createJavaConsumerConnector(ConsumerConnector.scala:120)
        at kafka.consumer.Consumer.createJavaConsumerConnector(ConsumerConnector.scala)
        at org.apache.atlas.kafka.KafkaNotification.createConsumerConnector(KafkaNotification.java:264)
        at org.apache.atlas.kafka.KafkaNotification.createConsumers(KafkaNotification.java:182)
        at org.apache.atlas.kafka.KafkaNotification.createConsumers(KafkaNotification.java:169)
        at org.apache.atlas.notification.NotificationHookConsumer.startConsumers(NotificationHookConsumer.java:89)
        at org.apache.atlas.notification.NotificationHookConsumer.startInternal(NotificationHookConsumer.java:83)
        at org.apache.atlas.notification.NotificationHookConsumer.start(NotificationHookConsumer.java:69)
        at org.apache.atlas.service.Services.start(Services.java:45)
        ... 19 more
2016-07-25 07:20:46,433 INFO  - [main-EventThread:] ~ EventThread shut down (ClientCnxn:524)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message