FYI:
http://wiki.apache.org/hadoop/ZooKeeper/Troubleshooting
On Tue, Oct 12, 2010 at 2:23 PM, Benjamin Reed wrote:
> yes, your watcher objects will get the connectionloss event and eventually
> the session expired event.
>
> ben
>
>
> On 10/12/2010 10:57 AM, Avinash Lakshman wrote:
>
>> Would m
yes, your watcher objects will get the connectionloss event and
eventually the session expired event.
ben
On 10/12/2010 10:57 AM, Avinash Lakshman wrote:
Would my watcher get invoked on this ConnectionLoss event? If so I am
thinking I will check for KeeperState.Disconnected and reset my state
Yes. You should get that event.
You should also debug why you are getting disconnected in the first place.
This is often a symptom of something really bad that is happening on your
client side such as very long GC's. If these are unavoidable, then you need
to adjust the timeouts with ZK to refl
Would my watcher get invoked on this ConnectionLoss event? If so I am
thinking I will check for KeeperState.Disconnected and reset my state. Is my
understanding correct? Please advice.
Thanks
Avinash
On Tue, Oct 12, 2010 at 10:45 AM, Benjamin Reed wrote:
> ZooKeeper considers a client dead whe
ZooKeeper considers a client dead when it hasn't heard from that
client during the timeout period. clients make sure to communicate with
ZooKeeper at least once in 1/3 the timeout period. if the client doesn't
hear from ZooKeeper in 2/3 the timeout period, the client will issue a
ConnectionLos