You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by "Sandhu, Dilpreet" <ds...@illumina.com> on 2016/01/27 23:02:48 UTC

Sorry. Figured it was Init.d script.

Sorry for spamming you all with questions.
Figured out it was my init.d script that was broken. :(


On 1/27/16, 1:30 PM, "Sandhu, Dilpreet" <ds...@illumina.com> wrote:

>Hi all,
>        I am using Kafka 0.9.0.0 with Zookeeper 3.4.6. I am not sure if I
>am missing anything :(
>When I try to create any topic I get the following error:-
>
>
>Error while executing topic command : replication factor: 1 larger than
>available brokers: 0
>
>[2016-01-27 20:35:53,738] ERROR kafka.admin.AdminOperationException:
>replication factor: 1 larger than available brokers: 0
>
>at kafka.admin.AdminUtils$.assignReplicasToBrokers(AdminUtils.scala:77)
>
>at kafka.admin.AdminUtils$.createTopic(AdminUtils.scala:236)
>
>at kafka.admin.TopicCommand$.createTopic(TopicCommand.scala:105)
>
>at kafka.admin.TopicCommand$.main(TopicCommand.scala:60)
>
>at kafka.admin.TopicCommand.main(TopicCommand.scala)
>
>(kafka.admin.TopicCommand$)
>
>It works with kafka 0.8.2.1
>
>Zookeeper is running.
>
>Any help will be greatly appreciated.
>
>Thanks.
>Best regards,
>Dilpreet
>