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 Haskins
> <gregory.hask...@gmail.com>wrote:
>
>   
>>
>>    public App() throws Exception {
>>        zk = new ZooKeeper("192.168.1.124:2181", 0, this);
>>    }
>>
>>
>>     
> Try use a sensible timeout value such as 20000. The error you are getting
> means the server has timed out the session.
>
> Hope this unstucks you.
>   

/me feels dumb

Yep, that was the issue.  Thank you kindly!

-Greg



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to