hadoop-zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Vinod Johnson <Thomas.John...@Sun.COM>
Subject Re: Reconnecting to another host on failure but before session expires...
Date Mon, 05 Jan 2009 18:36:25 GMT
Kevin Burton wrote:
> The ZooKeeper constructor only takes a host and port... not a list of
> servers.
>   
The second constructor documents the host parameter as follows:
@param host comma separated host:port pairs, each corresponding to a zk 
server. eg. "127.0.0.1:3000,127.0.0.1:3001,127.0.0.1:3002"
> I assumed you communicated with on server by default, and that server then
> passed you the list of all known servers.
>
> Am I missing something?
>
> Kevin
>
>   

Mime
View raw message