[ https://issues.apache.org/jira/browse/KAFKA-1172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13842254#comment-13842254 ]
Jun Rao commented on KAFKA-1172: -------------------------------- The following works for me. bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic testing Can you reproduce this locally? > error when creating topic with kafka-topics.sh > ---------------------------------------------- > > Key: KAFKA-1172 > URL: https://issues.apache.org/jira/browse/KAFKA-1172 > Project: Kafka > Issue Type: Bug > Affects Versions: 0.8.1 > Reporter: Joe Stein > Priority: Blocker > Fix For: 0.8.1 > > > when trying to-do this > bin/kafka-topics.sh --create --zookeeper 192.168.50.5:2181 > --replication-factor 3 --partitions 3 --topic testing > I am getting this > Exception in thread "main" java.lang.NoSuchMethodError: > kafka.admin.AdminUtils$.createTopic(Lorg/I0Itec/zkclient/ZkClient;Ljava/lang/String;IILjava/util/Properties;)V > at > kafka.admin.TopicCommand$$anonfun$createTopic$1.apply(TopicCommand.scala:73) > at > kafka.admin.TopicCommand$$anonfun$createTopic$1.apply(TopicCommand.scala:65) > at scala.collection.Iterator$class.foreach(Iterator.scala:631) > at > scala.collection.JavaConversions$JIteratorWrapper.foreach(JavaConversions.scala:474) > at scala.collection.IterableLike$class.foreach(IterableLike.scala:79) > at > scala.collection.JavaConversions$JListWrapper.foreach(JavaConversions.scala:521) > at kafka.admin.TopicCommand$.createTopic(TopicCommand.scala:65) > at kafka.admin.TopicCommand$.main(TopicCommand.scala:48) > at kafka.admin.TopicCommand.main(TopicCommand.scala) > however listing works fine > vagrant@precise64:/opt/kafka$ bin/kafka-topics.sh --list --zookeeper > 192.168.50.5:2181 > sandbox -- This message was sent by Atlassian JIRA (v6.1#6144)