KeeperErrorCode = NoNode for /brokers/topics/test-topic/partitions

10,868

Solution 1

I found my answer, It is because of version mismatch of zookeeper and kafka. Previously I was using kafka_2.8.0-0.8.0 with zookeeper 3.3.5 but then I installed kafka_2.9.2-0.8.1.1 with zookeeper 3.3.5 and now It's working fine.

Solution 2

Most likely this is because the topic is not created yet. Topic nodes in Zookeeper are created when broker processes the first message to the topic or, alternatively, when the AdminUtils.createTopic(...) call was made.

Share:
10,868
Kshitij Kulshrestha
Author by

Kshitij Kulshrestha

You are the only person responsible for the things happening to you.

Updated on June 12, 2022

Comments

  • Kshitij Kulshrestha
    Kshitij Kulshrestha almost 2 years

    While starting Kafka getting this following error.

    KeeperErrorCode = NoNode for /brokers/topics/test-topic/partitions
    

    Any help will be apreciated.

    • Chiron
      Chiron over 9 years
      Again and again, without showing us your configuration , it is impossible to help.
  • NoobEditor
    NoobEditor over 8 years
    how do u install a specific zookeeper version?
  • Kshitij Kulshrestha
    Kshitij Kulshrestha over 8 years
    zookeeper.apache.org/releases.html#download , you can find various release on this web page and installation steps are given at this link -> cwiki.apache.org/confluence/display/solr/…