Hi raghu, http://wiki.apache.org/hadoop/ZooKeeper/FAQ Explains on what timeouts mean for a zookeeper client. A timeout does not mean a closed session. The client will reconnect to another server and then renew the session. A closed session will make the zoookeeper handle invalid.
Hope this helps. Their is more info at http://wiki.apache.org/hadoop/ZooKeeper/Troubleshooting And also http://hadoop.apache.org/zookeeper/docs/r3.1.1/zookeeperProgrammers.html#ch_ zkSessions mahadev On 4/21/09 12:00 AM, "rag...@yahoo.com" <rag...@yahoo.com> wrote: > > I have a question related how ZK server deals with client timeout. If the > client loses connectivity with the ZK server (which is still alive), then the > ZK server will close the client session by issuing a closeSession transaction, > correct? So even if the client has reestablished the session by connecting to > another server by now, closeSession transaction will force the session to be > deleted on all servers. The client will have to reconnect to one of the > servers again and create a brand new session, right? > > Could you please clarify if the above is correct? > > Thanks > Raghu > > > >