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

Madhan Neethiraj resolved ATLAS-634.
------------------------------------
    Resolution: Cannot Reproduce

> Atlas failed to start embedded kafka
> ------------------------------------
>
>                 Key: ATLAS-634
>                 URL: https://issues.apache.org/jira/browse/ATLAS-634
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: Ayub Pathan
>            Priority: Major
>
> Env: Atlas started in embedded mode on a local setup.
> {noformat}
> 2016-04-05 11:32:14,544 WARN  - [main:] ~ Failed startup of context 
> o.e.j.w.WebAppContext@48b6bddf{/,file:/Users/apathan/Hortonworks/apache-atlas-master/incubator-atlas/distro/target/apache-atlas-0.7-incubating-SNAPSHOT-bin/apache-atlas-0.7-incubating-SNAPSHOT/server/webapp/atlas/,STARTING}{/Users/apathan/Hortonworks/apache-atlas-master/incubator-atlas/distro/target/apache-atlas-0.7-incubating-SNAPSHOT-bin/apache-atlas-0.7-incubating-SNAPSHOT/server/webapp/atlas}
>  (WebAppContext:514)
> java.lang.RuntimeException: org.apache.atlas.AtlasException: Failed to start 
> embedded kafka
>       at org.apache.atlas.service.Services.start(Services.java:48)
>       at 
> org.apache.atlas.web.listeners.GuiceServletConfig.startServices(GuiceServletConfig.java:157)
>       at 
> org.apache.atlas.web.listeners.GuiceServletConfig.contextInitialized(GuiceServletConfig.java:151)
>       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:109)
> Caused by: org.apache.atlas.AtlasException: Failed to start embedded kafka
>       at 
> org.apache.atlas.kafka.KafkaNotification.start(KafkaNotification.java:139)
>       at org.apache.atlas.service.Services.start(Services.java:45)
>       ... 19 more
> Caused by: java.lang.RuntimeException: A broker is already registered on the 
> path /brokers/ids/1. This probably indicates that you either have configured 
> a brokerid that is already in use, or else you have shutdown this broker and 
> restarted it faster than the zookeeper timeout so it appears to be 
> re-registering.
>       at kafka.utils.ZkUtils.registerBrokerInZk(ZkUtils.scala:295)
>       at kafka.utils.ZkUtils.registerBrokerInZk(ZkUtils.scala:281)
>       at kafka.server.KafkaHealthcheck.register(KafkaHealthcheck.scala:64)
>       at kafka.server.KafkaHealthcheck.startup(KafkaHealthcheck.scala:45)
>       at kafka.server.KafkaServer.startup(KafkaServer.scala:231)
>       at 
> org.apache.atlas.kafka.KafkaNotification.startKafka(KafkaNotification.java:313)
>       at 
> org.apache.atlas.kafka.KafkaNotification.start(KafkaNotification.java:137)
>       ... 20 more
> 2016-04-05 11:32:14,548 INFO  - [main:] ~ Started 
> ServerConnector@2cf4dea2{HTTP/1.1}{0.0.0.0:21000} (ServerConnector:266)
> 2016-04-05 11:32:14,548 INFO  - [main:] ~ Started @8414ms (Server:379)
> 2016-04-05 11:32:22,504 INFO  - [SessionTracker:] ~ Expiring session 
> 0x153e5027cec0002, timeout of 10000ms exceeded (ZooKeeperServer:347)
> 2016-04-05 11:32:22,506 INFO  - [ProcessThread(sid:0 cport:-1)::] ~ Processed 
> session termination for sessionid: 0x153e5027cec0002 
> (PrepRequestProcessor:494)
> {noformat}



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

Reply via email to