Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1019

kafka-preferred-replica-election.sh will fail without clear error message if /brokers/topics/[topic]/partitions does not exist

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.8.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      From Libo Yu:

      I tried to run kafka-preferred-replica-election.sh on our kafka cluster.
      But I got this expection:
      Failed to start preferred replica election
      org.I0Itec.zkclient.exception.ZkNoNodeException: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /brokers/topics/uattoqaaa.default/partitions

      I checked zookeeper and there is no /brokers/topics/uattoqaaa.default/partitions. All I found is
      /brokers/topics/uattoqaaa.default.

        Attachments

          Activity

            People

            • Assignee:
              sriharsha Sriharsha Chintalapani
              Reporter:
              guozhang Guozhang Wang
              Reviewer:
              Neha Narkhede
            • Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: