Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.1.0
-
None
-
None
-
kubernetes cluster
Description
After Zookeeper died and came back up kafka could not reconnect to zookeeper.
In this Setup zookeeper ist behind a dns and came up with a different ip.
Here is the kafka log output:
[2018-08-30 14:50:23,846] INFO Opening socket connection to server zookeeper-0.zookeeper./10.42.0.123:2181. Will not attempt to authenticate using SASL (unknown error) (org.apache.zookeeper.ClientCnxn) 8/30/2018 4:50:26 PM [2018-08-30 14:50:26,916] WARN Session 0x1658b2f0f4e0002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn) 8/30/2018 4:50:26 PM java.net.NoRouteToHostException: No route to host 8/30/2018 4:50:26 PM at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) 8/30/2018 4:50:26 PM at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) 8/30/2018 4:50:26 PM at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) 8/30/2018 4:50:26 PM at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)