C Schabert created KAFKA-7361:
---------------------------------
Summary: Kafka wont reconnect after NoRouteToHostException
Key: KAFKA-7361
URL: https://issues.apache.org/jira/browse/KAFKA-7361
Project: Kafka
Issue Type: Bug
Components: zkclient
Affects Versions: 1.1.0
Environment: kubernetes cluster
Reporter: C Schabert
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:
{code:java}
[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)
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)