Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

kafka leaders and Isr are not defined

kafka leaders and Isr are not defined

we have strange behavior about what we see in described Kafka information

 

we can see that replicas are defined

 

but all leaders are `NONE` , and also `Isr` is empty


$HOME/kafka-topics.sh --zookeeper zoo01:2181 --describe

 

Topic:car_list_abort PartitionCount:30 ReplicationFactor:3 Configs:segment.bytes=8763524700,cleanup.policy=compact,compression.type=producer
Topic: car_list_abort Partition: 0 Leader: NONE Replicas: 3424,3425,3426 Isr:
Topic: car_list_abort Partition: 1 Leader: NONE Replicas: 3425,3426,3421 Isr:
Topic: car_list_abort Partition: 2 Leader: NONE Replicas: 3426,3421,3422 Isr:
Topic: car_list_abort Partition: 3 Leader: NONE Replicas: 3421,3422,3423 Isr:
Topic: car_list_abort Partition: 4 Leader: NONE Replicas: 3422,3423,3424 Isr:
Topic: car_list_abort Partition: 5 Leader: NONE Replicas: 3423,3424,3425 Isr:

 

 

what could be the reason for that , and how to resolve it?

**dose Kafka partitions reassignment can solved this situation?**

Michael-Bronson
2 REPLIES 2
Highlighted

Re: kafka leaders and Isr are not defined

Mentor

@mike_bronson7 

Could it be a syntax error can you share your command?  the correct format should be 

$ bin/kafka-topics.sh --describe --zookeeper <zk_host>:2181 --topic <your_topic>

That should give you the desired output

 

 

 

Re: kafka leaders and Isr are not defined

yes the command is works fine , no issue with command 

Michael-Bronson
Don't have an account?
Coming from Hortonworks? Activate your account here