Kafka, mail # user - Re: kafka-reassign-partitions.sh --status-check-json-file not working - 2013-11-05, 04:53
Solr & Elasticsearch trainings in New York & San Francisco [more info][hide]
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
-
Re: kafka-reassign-partitions.sh --status-check-json-file not working
Joe,

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:
 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB