Re: Partition reassignment data file is empty

2018-01-01 Thread Ted Yu
xplain what the error means? The json > is > > > not > > > > empty > > > > > > > > $ cat increase-replication-factor.json > > > > {"version":1, > > > > "partitions":[ > > > > {"topic&quo

Re: Partition reassignment data file is empty

2017-12-31 Thread allen chan
> $ cat increase-replication-factor.json > > > {"version":1, > > > "partitions":[ > > > {"topic":"metrics","partition":0,"replicas":[1,2]}, > > > {"topic":"metrics&

Re: Partition reassignment data file is empty

2017-12-31 Thread Ted Yu
[ > > {"topic":"metrics","partition":0,"replicas":[1,2]}, > > {"topic":"metrics","partition":1,"replicas":[2,3]}, > > ]} > > > > $ sudo /opt/kafka/kafka_2

Re: Partition reassignment data file is empty

2017-12-31 Thread Brett Rann
ot;topic":"metrics","partition":1,"replicas":[2,3]}, > ]} > > $ sudo /opt/kafka/kafka_2.12-0.11.0.1/bin/kafka-reassign-partitions.sh > --zookeeper server1:2181 --reassignment-json-file > increase-replication-factor.json --execute > Partitions r

Partition reassignment data file is empty

2017-12-30 Thread allen chan
json-file increase-replication-factor.json --execute Partitions reassignment failed due to Partition reassignment data file is empty kafka.common.AdminCommandFailedException: Partition reassignment data file is empty at kafka.admin.ReassignPartitionsCommand$.parseAndValidate(ReassignPartitionsCommand.scala: