org.apache.zookeeper.KeeperException$NodeExistsException

KeeperErrorCode = NodeExists for /brokers/ids/0

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web26

  • via Unknown by Jay Kreps,
  • via Unknown by Jyoti Yadav,
  • via Unknown by Venkatesh Kavuluri,
  • Stack trace

    • org.apache.zookeeper.KeeperException$NodeExistsException: KeeperErrorCode = NodeExists for /brokers/ids/0 at org.I0Itec.zkclient.exception.ZkException.create(ZkException.java:55) at org.I0Itec.zkclient.ZkClient.retryUntilConnected(ZkClient.java:685) at org.I0Itec.zkclient.ZkClient.create(ZkClient.java:304) at org.I0Itec.zkclient.ZkClient.createEphemeral(ZkClient.java:328) at kafka.utils.ZkUtils$.createEphemeralPath(ZkUtils.scala:63) at kafka.utils.ZkUtils$.createEphemeralPathExpectConflict(ZkUtils.scala:79) at kafka.server.KafkaZooKeeper.registerBrokerInZk(KafkaZooKeeper.scala:54) at kafka.log.LogManager.startup(LogManager.scala:119) at kafka.server.KafkaServer.startup(KafkaServer.scala:62) at kafka.Kafka$.main(Kafka.scala:59) at kafka.Kafka.main(Kafka.scala) Caused by: org.apache.zookeeper.KeeperException$NodeExistsException: KeeperErrorCode = NodeExists for /brokers/ids/0 at org.apache.zookeeper.KeeperException.create(KeeperException.java:110) at org.apache.zookeeper.KeeperException.create(KeeperException.java:42) at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:637) at org.I0Itec.zkclient.ZkConnection.create(ZkConnection.java:87) at org.I0Itec.zkclient.ZkClient$1.call(ZkClient.java:308) at org.I0Itec.zkclient.ZkClient$1.call(ZkClient.java:304)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    nasimknasimk
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,