I expect to see some status but I cannot see anything.
When I run the reassign command again I get the following error implying that the reassignment is taking place:
Partitions reassignment failed due to Partition reassignment currently in progress for Map(). Aborting operation kafka.common.AdminCommandFailedException: Partition reassignment currently in progress for Map(). Aborting operation at kafka.admin.ReassignPartitionsCommand.reassignPartitions(ReassignPartitionsCommand.scala:195) at kafka.admin.ReassignPartitionsCommand$.main(ReassignPartitionsCommand.scala:137) at kafka.admin.ReassignPartitionsCommand.main(ReassignPartitionsCommand.scala) When I look at the broker 1, I see nothing indicating that anything is happening. I only have a replication factor of 1 on this topic.
Could you try - bin/kafka-reassign-partitions.sh --topics-to-move-json-file topics-to-move.json --zookeeper zk-qa.us-e.roomkey.net:2181/kafka_stage/kafka_qa --broker-list "1"
Store the partition assignment output in a file partition-assignment.json, then use that to execute the assignment - bin/kafka-reassign-partitions.sh --manual-assignment-json-file partition-assignment.json --zookeeper zk-qa.us-e.roomkey.net:2181/kafka_stage/kafka_qa --broker-list "1"
Then check the status using the same file - bin/kafka-reassign-partitions.sh --status-check-json-file partition-assignment.json --zookeeper zk-qa.us-e.roomkey.net:2181/kafka_stage/kafka_qa --broker-list "1"
I think the reassign partitions command could be improved.
Thanks, Neha On Mon, Nov 4, 2013 at 3:41 PM, Guozhang Wang <[EMAIL PROTECTED]> wrote:
so I think this was a copy paste error where the quote symbol (") was being pasted as something different which messed up the json file with the assignment issues. After trying to replicate this issue I was unsuccessful unless I had the bad character. ________________________________________ From: Joseph Lawson <[EMAIL PROTECTED]> Sent: Tuesday, November 05, 2013 8:32 AM To: [EMAIL PROTECTED] Subject: Re: kafka-reassign-partitions.sh --status-check-json-file not working
I'll try to come up with some steps to repicate today. I didn't notice anything obvious in the logs.
Sent from my Droid Charge on Verizon 4G LTE Guozhang Wang wrote: Hello Joe,
Do you see any exceptions in the controller or state-change logs?
Where are these two topics originally located?
Guozhang On Mon, Nov 4, 2013 at 9:47 AM, Joseph Lawson <[EMAIL PROTECTED]> wrote:
NEW: Monitor These Apps!
Apache Lucene, Apache Solr and all other Apache Software Foundation project and their respective logos are trademarks of the Apache Software Foundation.
Elasticsearch, Kibana, Logstash, and Beats are trademarks of Elasticsearch BV, registered in the U.S. and in other countries. This site and Sematext Group is in no way affiliated with Elasticsearch BV.
Service operated by Sematext