RADAR-base / RADAR-Docker

Integrated Docker Stack for the RADAR mHealth Streaming Platform Components
https://hub.docker.com/u/radarbase/dashboard/
Apache License 2.0
16 stars 16 forks source link

Kafka brokers not available. #242

Open fargolo opened 3 years ago

fargolo commented 3 years ago

When executing Step 11 from the documentation, I'm facing a bug very similar to issue 32.

Apparently, Kafka brokers are either not initialized or seen.

Creating RADAR-base topics...
[main] INFO kafka.utils.Log4jControllerRegistration$ - Registered kafka:type=kafka.Log4jController MBean
[main] INFO kafka.zookeeper.ZooKeeperClient - [ZooKeeperClient] Initializing a new session to zookeeper-1:2181,zookeeper-2:2181,zookeeper-3:2181.
[main] INFO org.apache.zookeeper.ZooKeeper - Client environment:zookeeper.version=3.4.13-2d71af4dbe22557fda74f9a9b4309b15a7487f03, built on 06/29/2018 00:39 GMT
[main] INFO org.apache.zookeeper.ZooKeeper - Client environment:host.name=d5569d3e28d3
[main] INFO org.apache.zookeeper.ZooKeeper - Client environment:java.version=11.0.10
[main] INFO org.apache.zookeeper.ZooKeeper - Client environment:java.vendor=Oracle Corporation
[main] INFO org.apache.zookeeper.ZooKeeper - Client environment:java.home=/usr/local/openjdk-11
[main] INFO org.apache.zookeeper.ZooKeeper - Client environment:java.class.path=/usr/lib/radar-schemas-tools-0.5.1.jar:/usr/lib/radar-schemas-commons-0.5.1
...
[main] INFO org.apache.zookeeper.ZooKeeper - Initiating client connection, connectString=zookeeper-1:2181,zookeeper-2:2181,zookeeper-3:2181 sessionTimeout=15000 watcher=kafka.zookeeper.ZooKeeperClient$ZooKeeperClientWatcher$@31e75d13
[main] INFO kafka.zookeeper.ZooKeeperClient - [ZooKeeperClient] Waiting until connected.
[main-SendThread(zookeeper-1:2181)] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server zookeeper-1/172.19.0.2:2181. Will not attempt to authenticate using SASL (unknown error)
[main-SendThread(zookeeper-1:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket connection established to zookeeper-1/172.19.0.2:2181, initiating session
[main-SendThread(zookeeper-1:2181)] INFO org.apache.zookeeper.ClientCnxn - Session establishment complete on server zookeeper-1/172.19.0.2:2181, sessionid = 0x177f3ade3a5002b, negotiated timeout = 15000
[main] INFO kafka.zookeeper.ZooKeeperClient - [ZooKeeperClient] Connected.
[main] WARN org.radarcns.schema.registration.KafkaTopics - Only 0 out of 3 Kafka brokers available. Waiting 2 seconds.
...
[main] WARN org.radarcns.schema.registration.KafkaTopics - Only 0 out of 3 Kafka brokers available. Waiting 32 seconds.
FAILED TO CREATE TOPICS

I've checked the settings that were to supppose to fix it in commit c806ae6 .

Any thoughts?