Also, which version of Kafka are you using?

Thanks,

Jun


On Thu, Jul 3, 2014 at 2:26 AM, 鞠大升 <dashen...@gmail.com> wrote:

> 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
> dashen...@gmail.com
>

Reply via email to