Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
3.4.6, 3.4.7, 3.4.8, 3.4.9, 3.4.10, 3.5.0, 3.5.1, 3.5.2, 3.5.3, 3.4.11
-
Ubuntu 14.04 host, Docker containers for Zookeeper & Kafka
Description
Testing in a Docker environment with a single Kafka instance using a single Zookeeper instance. Restarting the Zookeeper container will cause it to receive a new IP address. Kafka will never be able to reconnect to Zookeeper and will hang indefinitely. Updating DNS or /etc/hosts with the new IP address will not help the client to reconnect as the zookeeper/client/StaticHostProvider resolves the connection string hosts at creation time and never re-resolves.
A solution would be for the client to notice that connection attempts fail and attempt to re-resolve the hostnames in the connectString.
Attachments
Attachments
Issue Links
- causes
-
KAFKA-4041 kafka unable to reconnect to zookeeper behind an ELB
- Resolved
- duplicates
-
ZOOKEEPER-338 zk hosts should be resolved periodically for loadbalancing amongst zk servers.
- Open
- fixes
-
SOLR-8868 SolrCloud: if zookeeper loses and then regains a quorum, Solr nodes and SolrJ Client do not recover and need to be restarted
- Resolved
- is related to
-
ZOOKEEPER-1666 Avoid Reverse DNS lookup if the hostname in connection string is literal IP address.
- Closed
- relates to
-
MESOS-9113 Update vendored zookeeper to 3.4.13
- Open
-
ZOOKEEPER-1506 Re-try DNS hostname -> IP resolution if node connection fails
- Resolved
- links to