zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordan Zimmerman <jzimmer...@netflix.com>
Subject Re: Strange responses from server
Date Fri, 26 Aug 2011 18:46:04 GMT
What's missing, IMO, is a uniform response that says the system is
nominal. I can query "stat" but I now have to do an ugly compare against
the response - something like: response.startsWith("Zookeeper version").
Or, am I missing something?

-JZ

On 8/26/11 11:42 AM, "Ted Dunning" <ted.dunning@gmail.com> wrote:

>Not really.
>
>Diagnosing the network is an important step.  Diagnosing quorum formation
>is
>the next step.
>
>On Fri, Aug 26, 2011 at 11:31 AM, Jordan Zimmerman
><jzimmerman@netflix.com>wrote:
>
>> Thanks - that makes "ruok" essentially useless. Grrr...
>>
>> On 8/26/11 11:10 AM, "Patrick Hunt" <phunt@apache.org> wrote:
>>
>> >ruok checks if the server is listening on the port, that it's up and
>> >functional, not that it's joined a quorum
>> >
>> >stat provides details on the server wrt the quorum, not serving
>> >requests means that it is not currently a member of the quorum.
>> >
>> >You'd need to check the logs to see why it's not participating.
>> >
>> >Patrick
>> >
>> >On Fri, Aug 26, 2011 at 11:06 AM, Jordan Zimmerman
>> ><jzimmerman@netflix.com> wrote:
>> >> I have a three node ensemble. Each node responds to "ruok" with
>>"imok".
>> >> Yet, each one response to "stat" with "This ZooKeeper instance is not
>> >> currently serving requests". What gives? Which one should I trust?
>>How
>> >> might it get in this state and what's the correct way to fix it?
>> >>
>> >> -Jordan
>> >>
>> >>
>> >
>>
>>


Mime
View raw message