Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # dev >> zkclient dies after UnknownHostException in zk reconnect

Copy link to this message
zkclient dies after UnknownHostException in zk reconnect
Hi Everyone,

I've run into the following issue with the Kafka server. The zkclient lib
seems to die silently if there is an UnknownHostException(or any
IOException) while reconnecting the ZK session. I've filed a bug about this
with the zkclient lib(https://github.com/sgroschupf/zkclient/issues/23). The
ramifications for Kafka were the silent loss of all ephemeral nodes
associated with the affected process.

Has anyone faced this issue? If so, what is the recommended way of dealing
with this?

If there is no good solution available, would the community be open to a
patch that periodically verifies ZK connectivity?