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

Reassigning partition stuck in progress

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 0.9.0.0
    • Fix Version/s: None
    • Component/s: replication
    • Labels:
    • Environment:
      centos 7.2

      Description

      We were trying to increase the replication factor on a test topic we've created.

      We followed the documentation's instruction:
      http://kafka.apache.org/documentation.html#basic_ops_increase_replication_factor

      and received:
      ```
      Current partition replica assignment

      {"version":1,"partitions":[

      {"topic":"test","partition":0,"replicas":[1]}

      ]}

      Save this to use as the --reassignment-json-file option during rollback
      Successfully started reassignment of partitions {"version":1,"partitions":[

      {"topic":"test" ,"partition":0,"replicas":["1","2","3"]}

      ]}
      ```

      After that whenever we try verify, it is stuck on:
      ```
      Status of partition reassignment:
      Reassignment of partition [test,0] is still in progress
      ```

      • We tried restarting the cluster and it still did not work.
      • The topic has 1 partition
      • The zookeeper /admin/reassign_partitions znode is empty

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nehanarkhede Neha Narkhede
                Reporter:
                leoxlin Leo Xuzhang Lin
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: