Unable to start Control Center

2,279 views
Skip to first unread message

Sean Lindo

unread,
Jun 24, 2017, 5:24:38 PM6/24/17
to Confluent Platform
Platform: Ubuntu 16.04
Installation Method: apt
Version: 3.2.2

Hello all,

I'm looking to trial the Enterprise Edition, but it doesn't appear I can actually start the control center. I've followed the instructions in the quickstart guide and have successfully produced and consumed messages from the command line. 

This is the command I'm using to start the control-center: 

/usr/bin/control-center-start /tmp/control-center.properties

And this is the repeating output I'm receiving from the terminal:

[2017-06-24 21:22:21,225] INFO unable to find enough working brokers (io.confluent.controlcenter.KafkaHelper:342)

I've confirmed that all services are running by switching screens and producing/consuming a few messages again. Is there something specific control-center is looking for? 

Hans Jespersen

unread,
Jun 25, 2017, 7:15:54 PM6/25/17
to Confluent Platform
How many Kafka brokers do you have? The default control center parameters tries to create topics with replication factor of 3 so it will only work (with defaults) with a cluster of 3 or more brokers.

The config file also has some lines that you can uncomment to make control center work with a single node kafka cluster.

Sean Lindo

unread,
Jun 25, 2017, 9:59:30 PM6/25/17
to Confluent Platform
I'm currently running only one broker. I'll look for those settings in the config file, thank you.

Hans Jespersen

unread,
Jun 25, 2017, 10:19:22 PM6/25/17
to confluent...@googlegroups.com
This is my (working) config for a single node cluster.

confluent.controlcenter.internal.topics.partitions=1
confluent.controlcenter.internal.topics.replication=1
confluent.controlcenter.command.topic.replication=1
confluent.monitoring.interceptor.topic.partitions=1
confluent.monitoring.interceptor.topic.replication=1

Also don’t forget to turn on metrics reporting as well

confluent.monitoring.interceptor.topic=_confluent-monitoring
confluent.monitoring.interceptor.topic.partitions=12

-hans

On Jun 25, 2017, at 6:59 PM, Sean Lindo <lindo....@gmail.com> wrote:

I'm currently running only one broker. I'll look for those settings in the config file, thank you.

--
You received this message because you are subscribed to a topic in the Google Groups "Confluent Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/confluent-platform/lfigaxTCnCI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to confluent-platf...@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/fd572aa1-78bd-40b9-ba91-1a2d96380132%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hari Charan

unread,
May 11, 2018, 5:04:04 AM5/11/18
to Confluent Platform
Hi all,

I'm unable to start confluent control-center :( 

I'm using confluent-3.0.0, installed via yum. Error is as follows:

[2018-05-11 04:49:07,938] ERROR failed to create topic=_confluent-monitoring partitions=2 replication=2 minIsr=1 retention=259200000 (io.confluent.controlcenter.KafkaHelper:143)
kafka.admin.AdminOperationException: replication factor: 2 larger than available brokers: 0
        at kafka.admin.AdminUtils$.assignReplicasToBrokers(AdminUtils.scala:117)
        at kafka.admin.AdminUtils$.createTopic(AdminUtils.scala:403)
        at kafka.admin.AdminUtils.createTopic(AdminUtils.scala)
        at io.confluent.controlcenter.KafkaHelper$KafkaAdminUtils.createTopic(KafkaHelper.java:38)
        at io.confluent.controlcenter.KafkaHelper.checkCreateTopics(KafkaHelper.java:135)
        at io.confluent.controlcenter.ControlCenter.main(ControlCenter.java:94)
[2018-05-11 04:49:07,938] ERROR failed to create necessary topics (io.confluent.controlcenter.ControlCenter:104)

Although, when I check for available brokers in zkshell:
zookeeper-shell localhost:2181/kafka <<< "ls /brokers/ids"
Connecting to localhost:2181/kafka
Welcome to ZooKeeper!
JLine support is disabled

WATCHER::

WatchedEvent state:SyncConnected type:None path:null
[0, 1]


Kindly help, Thanks :)

dan

unread,
May 11, 2018, 9:50:58 AM5/11/18
to confluent...@googlegroups.com
what version are your brokers? are you using any sort of security on your brokers?

dan

--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platf...@googlegroups.com.

To post to this group, send email to confluent...@googlegroups.com.

Robin Moffatt

unread,
May 11, 2018, 5:58:08 PM5/11/18
to confluent...@googlegroups.com
Is there a reason you are running 3.0? 4.1 is the latest, and can be obtained from https://www.confluent.io/download/





--
Reply all
Reply to author
Forward
0 new messages