Tried this on the 0.8.0 release and it works for me. Could you make sure there are no duplicated kafka jars?
Thanks, Jun On Tue, Dec 10, 2013 at 7:08 AM, Yu, Libo <libo...@citi.com> wrote: > Hi folks, > > I got this error when I tried to test the partition addition tool. > bin/kafka-add-partitions.sh --partition 1 --topic libotesttopic > --zookeeper xx.xxx.xxx.xx:yyyy > adding partitions failed because of > kafka.admin.AdminUtils$.assignReplicasToBrokers(Lscala/collection/Seq;IIII)Lscala/collection/Map; > java.lang.NoSuchMethodError: > kafka.admin.AdminUtils$.assignReplicasToBrokers(Lscala/collection/Seq;IIII)Lscala/collection/Map; > at > kafka.admin.AddPartitionsCommand$.addPartitions(AddPartitionsCommand.scala:90) > at > kafka.admin.AddPartitionsCommand$.main(AddPartitionsCommand.scala:68) > at > kafka.admin.AddPartitionsCommand.main(AddPartitionsCommand.scala) > > Did I miss anything here? Thanks. > > Regards, > > Libo > >