Re: Getting None.get exception when running kafka-reassign-partitions.sh

2013-10-13 Thread Jun Rao
Are you trying to feed the json file to the --manual-assignment-json-file option? If so, you need to specify the replicas (see the description of the option for details). Thanks, Jun On Sun, Oct 13, 2013 at 8:02 AM, Calvin Lei wrote: > Yes. > > Partitions reassignment failed due to None.get >

Re: Getting None.get exception when running kafka-reassign-partitions.sh

2013-10-13 Thread Calvin Lei
Yes. Partitions reassignment failed due to None.get java.util.NoSuchElementException: None.get at scala.None$.get (Option.scala:185) at scala.None$.get (Option.scala:183) at kafka.utils.ZkUtils$$anonfun$parsePartitionReassignmentData$1.apply (ZkUtils.scala:571) at kafka.utils.ZkUtils$$