Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

error while running the kafka

error while running the kafka

New Contributor

hello,

 

need help desperdaly, tried all the slution but still facing the same issues

i am using kafka for my project on CDH 5.13, but while running the kafka server i am facing an issue,

 

1) not able to send the data to the consumer to the producer 

 

error: 

 

org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms


ERROR Error when sending message to topic binary_kafka_source with key: null, value: 175 bytes with error: (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback)

 

 

2) the zookeeprer keeps dissconnecting and connecting 

 

 

7/11/16 12:23:23 INFO zkclient.ZkClient: zookeeper state changed (Disconnected)
17/11/16 12:23:23 INFO zkclient.ZkClient: zookeeper state changed (Disconnected)
17/11/16 12:23:24 INFO zkclient.ZkClient: zookeeper state changed (SyncConnected)
17/11/16 12:23:24 INFO zkclient.ZkClient: zookeeper state changed (SyncConnected)
17/11/16 12:23:24 INFO zkclient.ZkClient: zookeeper state changed (SyncConnected)
17/11/16 12:24:03 INFO zkclient.ZkClient: zookeeper state changed (Disconnected)
17/11/16 12:24:03 INFO zkclient.ZkClient: zookeeper state changed (Disconnected)
17/11/16 12:24:03 INFO zkclient.ZkClient: zookeeper state changed (Disconnected)