hadoop-zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Burton" <bur...@spinn3r.com>
Subject Re: multiple disconnect events is not a state change.
Date Mon, 05 Jan 2009 21:57:53 GMT
oh... I was saying that I was receiving an event.  I was just printing it to
stdout....
Should there be multiple disconnect events?  There probably shouldn't be...
you can only be disconnected once.

Kevin

On Mon, Jan 5, 2009 at 1:29 PM, Patrick Hunt <phunt@apache.org> wrote:

> What you are seeing is the client attempting to reconnect to a server in
> the server list after a period of time (or retry if there is only a single
> server host in the list). There has been a patch since the last release
> which logs an INFO level message during client connection attempt, so this
> should be more obvious in future (you will see the disconnected but you will
> also see a new connection attempt message as well).
> https://issues.apache.org/jira/browse/ZOOKEEPER-225
>
> However this is not output to stdout, please feel free to enter a jira for
> this.
>
> Regards,
>
> Patrick
>
>
> Kevin Burton wrote:
>
>> Shutting down my zookeeper server yields this on my client.
>>
>> Continual disconnect events.
>>
>> Shouldn't only one be issued?  The second one is not a state change.
>>
>> WatchedEvent: Server state change. New state: Disconnected
>> WatchedEvent: Server state change. New state: Disconnected
>> WatchedEvent: Server state change. New state: Disconnected
>> WatchedEvent: Server state change. New state: Disconnected
>> WatchedEvent: Server state change. New state: Disconnected
>> WatchedEvent: Server state change. New state: Disconnected
>> WatchedEvent: Server state change. New state: Disconnected
>>
>>
>>


-- 
Founder/CEO Spinn3r.com
Location: San Francisco, CA
AIM/YIM: sfburtonator
Skype: burtonator
Work: http://spinn3r.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message