You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Leo Xuzhang Lin (JIRA)" <ji...@apache.org> on 2015/12/23 01:23:46 UTC

[jira] [Updated] (KAFKA-3033) Reassigning partition stuck in progress

     [ https://issues.apache.org/jira/browse/KAFKA-3033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leo Xuzhang Lin updated KAFKA-3033:
-----------------------------------
    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

  was:
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


> Reassigning partition stuck in progress
> ---------------------------------------
>
>                 Key: KAFKA-3033
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3033
>             Project: Kafka
>          Issue Type: Bug
>          Components: replication
>    Affects Versions: 0.9.0.0
>         Environment: centos 7.2
>            Reporter: Leo Xuzhang Lin
>            Assignee: Neha Narkhede
>            Priority: Critical
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)