Controller's connection to broker was unsuccessful

2,192 views
Skip to first unread message

Tianxiang Xiong

unread,
Apr 17, 2017, 9:34:22 PM4/17/17
to Confluent Platform
After upgrading our app to Kafka 0.10.2.0, we began seeing the following warnings:

18:27:44.065 [main] WARN  k.server.BrokerMetadataCheckpoint - No meta.properties file under dir /tmp/kafka-log-0/meta.properties
18:27:44.779 [main] WARN  k.server.BrokerMetadataCheckpoint - No meta.properties file under dir /tmp/kafka-log-0/meta.properties
18:27:44.864 [Controller-0-to-broker-0-send-thread] WARN  kafka.controller.RequestSendThread - [Controller-0-to-broker-0-send-thread], Controller 0's connection to broker 192.168.10.103:9092 (id: 0 rack: null) was unsuccessful
java.io.IOException: Connection to 192.168.10.103:9092 (id: 0 rack: null) failed
 at kafka.utils.NetworkClientBlockingOps$.awaitReady$1(NetworkClientBlockingOps.scala:84)
 at kafka.utils.NetworkClientBlockingOps$.blockingReady$extension(NetworkClientBlockingOps.scala:94)
 at kafka.controller.RequestSendThread.brokerReady(ControllerChannelManager.scala:232)
 at kafka.controller.RequestSendThread.liftedTree1$1(ControllerChannelManager.scala:185)
 at kafka.controller.RequestSendThread.doWork(ControllerChannelManager.scala:184)
 at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:63)
...

This continues indefinitely until we manually stop with `^C`.

What's going on here? I'm guessing it's a client-server version mismatch, although we should be using 0.10.1.x or 0.10.2.0 among our many libraries, which should be compatible.

Tianxiang Xiong

unread,
Apr 18, 2017, 2:16:22 PM4/18/17
to Confluent Platform
This seems to have been due to some bad broker configs.

Christian Schneider

unread,
Nov 21, 2017, 2:32:44 AM11/21/17
to Confluent Platform
I experience the same problem with a bitnami image of kafka deployed to Azure.
What was wrong in your broker configs?

Christian
Reply all
Reply to author
Forward
0 new messages