Raunak created KAFKA-8732:
-----------------------------

             Summary: specifying a non-existent broker to 
./bin/kafka-reassign-partitions.sh leads to reassignment never getting 
completed.
                 Key: KAFKA-8732
                 URL: https://issues.apache.org/jira/browse/KAFKA-8732
             Project: Kafka
          Issue Type: Bug
          Components: controller, tools
    Affects Versions: 0.10.1.1
         Environment: Ubuntu-VERSION="14.04.5 LTS"
            Reporter: Raunak


Specifying a non-existent broker to ./bin/kafka-reassign-partitions.sh leads to 
reassignment never getting completed. 

 My reassignment is getting struck if I provide non-existing broker ID. My 
kafka version is 0.10.1.1.

 

 
{code:java}
./kafka-reassign-partitions.sh --zookeeper zk:2181 --reassignment-json-file 
le.json --execute
Current partition replica assignment

{"version":1,"partitions":[{"topic":"cv-topic","partition":0,"replicas":[1011131,101067,98,101240]}]}
Save this to use as the --reassignment-json-file option during rollback
Successfully started reassignment of partitions.
{code}
In this 98 is the non-existing broker. Deleting reassign_partitions znode is of 
no use as well. As when I describe the same topic the 98 broker is out of sync.

 

 
{code:java}
Topic:cv-topic PartitionCount:1 ReplicationFactor:4 Configs:
Topic: cv-topic Partition: 0 Leader: 1011131 Replicas: 1011131,101067,98,101240 
Isr: 1011131,101067,101240

{code}
Now 98 will always be out of sync.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to