Re: how to handle re-add watch fails

2010-02-01 Thread Benjamin Reed
...@boboco.ie] Sent: 01 February 2010 10:22 To: zookeeper-user@hadoop.apache.org Subject: Re: how to handle re-add watch fails I was surprised to not get a response to this ... is this a no-brainer? Too hard to solve? Did I not express it clearly? Am I doing something dumb? :) Thanks, Eric On 01/25

Re: how to handle re-add watch fails

2010-02-01 Thread Qing Yan
Take a look at the Lock/ProtocolSupport stuff under the sample code directory. Just build a layer on top of ZK API that encapsulate the calling details/centralize error handling logic..some of the common logic could be moved to ZK client library in the future, application won't need to worry about