problem connecting to zookeeper server

2010-05-20 Thread Gregory Haskins
Hi, ZooKeeper newbie here, so probably simple 'pilot error', but yet I am stuck so any help appreciated. I am trying to stand up a zookeeper environment so I can check things out. I have an opensuse 11.2 virtual machine that I run the server in, and then I try to write a java client to connect

Re: problem connecting to zookeeper server

2010-05-21 Thread Gregory Haskins
On 5/20/10 12:04 PM, Lei Zhang wrote: Seems you are passing in wrong arguments: Should have been: public ZooKeeper(String connectString, int sessionTimeout, Watcher watcher) throws IOException What you have in your client code is: On Thu, May 20, 2010 at 5:21 AM, Gregory

auth-plugin question

2010-05-26 Thread Gregory Haskins
Hi all, Tried in vain to search for this answer, so apologies if this has already been addressed: Is it possible to write an auth plugin and dynamically load it into the server? Or do you need to have your class built into the zookeeper proper? The documentation was clear about how to specify