kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "C Schabert (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-7361) Kafka wont reconnect after NoRouteToHostException
Date Thu, 30 Aug 2018 15:07:00 GMT
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:

[2018-08-30 14:50:23,846] INFO Opening socket connection to server zookeeper-0.zookeeper./
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)

This message was sent by Atlassian JIRA

View raw message