org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 30000

GitHub | gianm | 3 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    Stop all kafka and zookeper proccesses ("ps -aux | grep zoo" and "ps -aux | grep kafka" and kill all the proccess ids) then, run zookeper and then run kafka server.
    via incubator-kafka-users by Jason Rosenberg
  2. 0
    samebug tip
    You can also check your connection to the server with "telnet 192.xxx.xxx.110 2181" and see if everything's ok.
    via incubator-kafka-users by Jason Rosenberg
  3. 0

    GitHub comment 2715#203506052

    GitHub | 1 year ago | gianm
    org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 6000
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Transient test failure - KafkaIndexTaskTest. testRunOnNothing - ZkTimeoutException

    GitHub | 12 months ago | drcrallen
    org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 30000
  6. 0

    GitHub comment 3032#222712349

    GitHub | 12 months ago | drcrallen
    org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 30000

  1. Raggyman 2 times, last 8 months ago
21 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.I0Itec.zkclient.exception.ZkTimeoutException

    Unable to connect to zookeeper server within timeout: 30000

    at org.I0Itec.zkclient.ZkClient.connect()
  2. ZooKeeper Client
    ZkClient.<init>
    1. org.I0Itec.zkclient.ZkClient.connect(ZkClient.java:1223)
    2. org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:155)
    3. org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:129)
    3 frames
  3. Apache Kafka
    KafkaServer.startup
    1. kafka.utils.ZkUtils$.createZkClientAndConnection(ZkUtils.scala:89)
    2. kafka.utils.ZkUtils$.apply(ZkUtils.scala:71)
    3. kafka.server.KafkaServer.initZk(KafkaServer.scala:278)
    4. kafka.server.KafkaServer.startup(KafkaServer.scala:168)
    4 frames
  4. io.druid.indexing
    KafkaIndexTaskTest.setUp
    1. io.druid.indexing.kafka.test.TestBroker.start(TestBroker.java:73)
    2. io.druid.indexing.kafka.KafkaIndexTaskTest.setUp(KafkaIndexTaskTest.java:248)
    2 frames