hadoop-zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Burton" <bur...@spinn3r.com>
Subject Re: Reconnecting to another host on failure but before session expires...
Date Tue, 06 Jan 2009 17:02:30 GMT
Crazy, I don't know how I missed that...
Wouldn't it be cleaner to specify this as a List<String> of host:port names?

Kevin

On Mon, Jan 5, 2009 at 10:36 AM, Thomas Vinod Johnson <
Thomas.Johnson@sun.com> wrote:

> 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
>>
>
-- 
Founder/CEO Spinn3r.com
Location: San Francisco, CA
AIM/YIM: sfburtonator
Skype: burtonator
Work: http://spinn3r.com

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