You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Tom Lee (JIRA)" <ji...@apache.org> on 2015/11/02 01:18:27 UTC

[jira] [Commented] (KAFKA-2712) Reassignment Partition Tool Issue

    [ https://issues.apache.org/jira/browse/KAFKA-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14984606#comment-14984606 ] 

Tom Lee commented on KAFKA-2712:
--------------------------------

Hi Kiran,

I think the first --verify error you're getting is by design. From https://kafka.apache.org/081/ops.html:

"--verify: In this mode, the tool verifies the status of the reassignment for all partitions listed during the last --execute. The status can be either of successfully completed, failed or in progress"

Can't speak to scenario 2 without more information. (i.e. when you say "it will not work", what happens?)

> Reassignment Partition Tool Issue
> ---------------------------------
>
>                 Key: KAFKA-2712
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2712
>             Project: Kafka
>          Issue Type: Bug
>          Components: admin
>    Affects Versions: 0.8.2.1
>            Reporter: Kiran
>            Priority: Minor
>
> Hi 
> I have 4 broker with id 1,2,3 and 4. Have one topic on broker 1 and 2. Now i want to move this topic to broker 3 and 4. For this i am using reassignment partition tool.
> Scenario 1:
> When i run verify command:
> kafka-reassign-partitions.sh --zookeeper localhost:2181 --reassignment-json-file reassignment-json-file.json --verify
> Status of partition reassignment:
> ERROR: Assigned replicas (2,3) don't match the list of replicas for reassignment (4,3) for partition [test03,1]
> ERROR: Assigned replicas (1,2) don't match the list of replicas for reassignment (3,4) for partition [test03,0]
> Reassignment of partition [test03,1] failed
> Reassignment of partition [test03,0] failed
> Its give me above error.
> But I run execute command and data migrated successfully. To verify this i run describe and verify command again and all looks go.
> Scenario 2: 
> Getting smiler error in first verification but when when i run it execute command it will not work.



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