zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yosef Arraf <yosef.ar...@gmail.com>
Subject fail connect to zookeeper
Date Wed, 23 May 2012 04:07:15 GMT
I'm faceing  a problem when i'm working with cluster zookeper and one of
the cluser servers is down:
when *zk01:2181 *is down the following code will fail:

String servers = "*zk01:2181*,*zk01:2181*";
_zkclient = new ZkClient(servers, 4000, connectionTimeout, new

it is not as mention
"If establishment of the connection fails, another server in the connect
string will be tried"

please help me to find out how to start ZkClient when one of the zk servers
is down


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message