[Zookeeper-user] odd exceptions when using zookeeper

2008-05-23 Thread Juan Ramirez
Hi, I am trying to become familiar with the zookeeper API and am seeing the following exceptions when attempting to create a node; any pointers as to where to look for their cause would be greatly appreciated. AFAIK, I am not doing anything special. I am running ZK standalone using JDK 1.6 and

Re: [Zookeeper-user] odd exceptions when using zookeeper

2008-05-23 Thread Juan Ramirez
Forgot to mention, I am using the zookeeper-2.2.0.jar distribution. Juan Ramirez wrote: > Hi, I am trying to become familiar with the zookeeper API and am seeing > the following exceptions when attempting to create a node; any pointers > as to where to look for their cause would b

Re: [Zookeeper-user] odd exceptions when using zookeeper

2008-05-23 Thread Juan Ramirez
com.yahoo.zookeeper.ClientCnxn$SendThread.readConnectResult(ClientCnxn.java:400) at com.yahoo.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:492) at com.yahoo.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:705) Juan Ramirez wrote: > Forgot to mention, I am using the zookeeper-2.

Re: [Zookeeper-user] odd exceptions when using zookeeper

2008-05-23 Thread Juan Ramirez
Hi, Ben. Thanks for the prompt reply. Benjamin Reed wrote: > Usually, this exception means that the server closed the socket. Are you > seeing anything strange in the server log? > It seems like the server is expiring the session; not sure why. 2008-05-23 14:26:08,354 - WARN [NIOServerCxn.Fa

Re: [Zookeeper-user] odd exceptions when using zookeeper

2008-05-23 Thread Juan Ramirez
] Juan Ramirez wrote: > Hi, Ben. Thanks for the prompt reply. > > Benjamin Reed wrote: >> Usually, this exception means that the server closed the socket. Are you >> seeing anything strange in the server log? >> > > It seems like the server is expiring the sessi

Re: [Zookeeper-user] odd exceptions when using zookeeper

2008-05-23 Thread Juan Ramirez
Mahadev Konar wrote: > Hi Juan, > Can you tell us what you are doing in your client code and when you > see this problem? Hi, Mahadev. It seems to happen when attempting to create a new node. Might be a timing issue because it does not happen all the time. The client code where this happens

Re: [Zookeeper-user] odd exceptions when using zookeeper

2008-05-23 Thread Juan Ramirez
A piece of info I left out which appears to be relevant is that I was running the standalone server and its client on the same machine. Perhaps this is not supported? I am not seeing the problem in a clustered deployment with 5 zookeeper instances. Thanks, Juan Juan Ramirez wrote: > Maha

Re: [Zookeeper-user] odd exceptions when using zookeeper

2008-05-29 Thread Juan Ramirez
s, Juan > > ben > > On Friday 23 May 2008 13:00:02 Juan Ramirez wrote: >> A piece of info I left out which appears to be relevant is that I was >> running the standalone server and its client on the same machine. >> Perhaps this is not supported? I am not seeing