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.john...@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