I’m trying to run `docker/dev.sh` after pulling th...
# troubleshoot
p
I’m trying to run
docker/dev.sh
after pulling the latest datahub code and I’m seeing this message repeatedly:
Copy code
datahub-actions_1         | 2023/02/16 22:10:34 Problem with request: Get "<http://datahub-gms:8080/health>": dial tcp: lookup datahub-gms on 127.0.0.11:53: no such host. Sleeping 1s
datahub-actions_1         | 2023/02/16 22:10:35 Problem with request: Get "<http://datahub-gms:8080/health>": dial tcp: lookup datahub-gms on 127.0.0.11:53: no such host. Sleeping 1s
datahub-actions_1         | 2023/02/16 22:10:36 Problem with request: Get "<http://datahub-gms:8080/health>": dial tcp: lookup datahub-gms on 127.0.0.11:53: no such host. Sleeping 1s
datahub-actions_1         | 2023/02/16 22:10:37 Problem with request: Get "<http://datahub-gms:8080/health>": dial tcp: lookup datahub-gms on 127.0.0.11:53: no such host. Sleeping 1s
datahub-actions_1         | 2023/02/16 22:10:38 Problem with request: Get "<http://datahub-gms:8080/health>": dial tcp: lookup datahub-gms on 127.0.0.11:53: no such host. Sleeping 1s
datahub-actions_1         | 2023/02/16 22:10:39 Problem with request: Get "<http://datahub-gms:8080/health>": dial tcp: lookup datahub-gms on 127.0.0.11:53: no such host. Sleeping 1s
datahub-actions_1         | 2023/02/16 22:10:40 Problem with request: Get "<http://datahub-gms:8080/health>": dial tcp: lookup datahub-gms on 127.0.0.11:53: no such host. Sleeping 1s
datahub-actions_1         | 2023/02/16 22:10:41 Problem with request: Get "<http://datahub-gms:8080/health>": dial tcp: lookup datahub-gms on 127.0.0.11:53: no such host. Sleeping 1s
Digging in further I found that the broker isn’t running and when I try to manually start its docker container, I see this error:
Copy code
2023-02-16 14:04:18 [2023-02-16 22:04:18,885] INFO Session establishment complete on server zookeeper/172.18.0.3:2181, session id = 0x10000152e130003, negotiated timeout = 18000 (org.apache.zookeeper.ClientCnxn)
2023-02-16 14:04:18 [2023-02-16 22:04:18,888] INFO [ZooKeeperClient Kafka server] Connected. (kafka.zookeeper.ZooKeeperClient)
2023-02-16 14:04:18 [2023-02-16 22:04:18,942] INFO [feature-zk-node-event-process-thread]: Starting (kafka.server.FinalizedFeatureChangeListener$ChangeNotificationProcessorThread)
2023-02-16 14:04:18 [2023-02-16 22:04:18,949] INFO Feature ZK node at path: /feature does not exist (kafka.server.FinalizedFeatureChangeListener)
2023-02-16 14:04:18 [2023-02-16 22:04:18,949] INFO Cleared cache (kafka.server.FinalizedFeatureCache)
2023-02-16 14:04:19 [2023-02-16 22:04:19,068] INFO Cluster ID = 9_PboVE2QOad45hS_5Tn9w (kafka.server.KafkaServer)
2023-02-16 14:04:19 [2023-02-16 22:04:19,074] ERROR Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
2023-02-16 14:04:19 kafka.common.InconsistentClusterIdException: The Cluster ID 9_PboVE2QOad45hS_5Tn9w doesn't match stored clusterId Some(XkdbYCWoRVadmGA-i2RwKw) in meta.properties. The broker is trying to join the wrong cluster. Configured zookeeper.connect may be wrong.
2023-02-16 14:04:19     at kafka.server.KafkaServer.startup(KafkaServer.scala:230)
2023-02-16 14:04:19     at kafka.Kafka$.main(Kafka.scala:109)
2023-02-16 14:04:19     at kafka.Kafka.main(Kafka.scala)
2023-02-16 14:04:19 [2023-02-16 22:04:19,075] INFO shutting down (kafka.server.KafkaServer)
2023-02-16 14:04:19 [2023-02-16 22:04:19,076] INFO [feature-zk-node-event-process-thread]: Shutting down (kafka.server.FinalizedFeatureChangeListener$ChangeNotificationProcessorThread)
2023-02-16 14:04:19 [2023-02-16 22:04:19,077] INFO [feature-zk-node-event-process-thread]: Stopped (kafka.server.FinalizedFeatureChangeListener$ChangeNotificationProcessorThread)
Any pointers on how to resolve this?
✅ 1
👀 1
i
Hello Pramod, Please use
./gradlew quickstart
rather than
docker/dev.sh
for local development.