Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Kafka >> mail # dev >> topic's partition have no leader and isr


Copy link to this message
-
topic's partition have no leader and isr
hi, all

I have a topic with 32 partitions, after some reassign operation, 2
partitions became to no leader and isr.
Topic:org.mobile_nginx  PartitionCount:32       ReplicationFactor:1
Configs:
        Topic: org.mobile_nginx Partition: 0    Leader: 3       Replicas: 3
    Isr: 3
        Topic: org.mobile_nginx Partition: 1    Leader: 4       Replicas: 4
    Isr: 4
        Topic: org.mobile_nginx Partition: 2    Leader: 5       Replicas: 5
    Isr: 5
        Topic: org.mobile_nginx Partition: 3    Leader: 6       Replicas: 6
    Isr: 6
        Topic: org.mobile_nginx Partition: 4    Leader: 3       Replicas: 3
    Isr: 3
        Topic: org.mobile_nginx Partition: 5    Leader: 4       Replicas: 4
    Isr: 4
        Topic: org.mobile_nginx Partition: 6    Leader: 5       Replicas: 5
    Isr: 5
        Topic: org.mobile_nginx Partition: 7    Leader: 6       Replicas: 6
    Isr: 6
        Topic: org.mobile_nginx Partition: 8    Leader: 3       Replicas: 3
    Isr: 3
        Topic: org.mobile_nginx Partition: 9    Leader: 4       Replicas: 4
    Isr: 4
        Topic: org.mobile_nginx Partition: 10   Leader: 2       Replicas: 1
    Isr: 2
        Topic: org.mobile_nginx Partition: 11   Leader: 2       Replicas: 2
    Isr: 2
        Topic: org.mobile_nginx Partition: 12   Leader: 3       Replicas: 1
    Isr: 3
        Topic: org.mobile_nginx Partition: 13   Leader: 2       Replicas: 2
    Isr: 2
        Topic: org.mobile_nginx Partition: 14   Leader: 4       Replicas: 4
    Isr: 4
        Topic: org.mobile_nginx Partition: 15   Leader: 2       Replicas: 2
    Isr: 2
        Topic: org.mobile_nginx Partition: 16   Leader: 4       Replicas: 4
    Isr: 4
        Topic: org.mobile_nginx Partition: 17   Leader: 5       Replicas: 5
    Isr: 5
        Topic: org.mobile_nginx Partition: 18   Leader: 6       Replicas: 6
    Isr: 6
        Topic: org.mobile_nginx Partition: 19   Leader: 5       Replicas: 5
    Isr: 5
        Topic: org.mobile_nginx Partition: 20   Leader: 2       Replicas: 2
    Isr: 2
        Topic: org.mobile_nginx Partition: 21   Leader: 3       Replicas: 3
    Isr: 3
        Topic: org.mobile_nginx Partition: 22   Leader: 4       Replicas: 4
    Isr: 4
        Topic: org.mobile_nginx Partition: 23   Leader: 5       Replicas: 5
    Isr: 5
        Topic: org.mobile_nginx Partition: 24   Leader: 6       Replicas: 6
    Isr: 6
        Topic: org.mobile_nginx Partition: 25   Leader: -1      Replicas:
6,1   Isr:
        Topic: org.mobile_nginx Partition: 26   Leader: 2       Replicas: 2
    Isr: 2
        Topic: org.mobile_nginx Partition: 27   Leader: 3       Replicas: 3
    Isr: 3
        Topic: org.mobile_nginx Partition: 28   Leader: 4       Replicas: 4
    Isr: 4
        Topic: org.mobile_nginx Partition: 29   Leader: 5       Replicas: 5
    Isr: 5
        Topic: org.mobile_nginx Partition: 30   Leader: 6       Replicas: 6
    Isr: 6
        Topic: org.mobile_nginx Partition: 31   Leader: -1      Replicas:
3,1   Isr:
partition-25 and partition-32 have no leader and no isr.
No matter reassign or leader election operation, can not reduce replicas
number, and can not election a leader for 4 days.

Anyone have any idea how to resolve this problem?

dashengju
+86 13810875910
[EMAIL PROTECTED]

 
+
Guozhang Wang 2014-07-03, 16:19
+
Jun Rao 2014-07-06, 15:47
+
鞠大升 2014-07-09, 07:10
+
Jun Rao 2014-07-09, 14:33
+
Guozhang Wang 2014-07-09, 15:31
+
DashengJu 2014-07-09, 19:09
+
Guozhang Wang 2014-07-09, 21:27
+
DashengJu 2014-07-10, 01:59
+
Guozhang Wang 2014-07-10, 23:07
+
DashengJu 2014-07-09, 18:42