Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper, mail # user - Healthcheck using the stat command


Copy link to this message
-
Re: Healthcheck using the stat command
Patrick Hunt 2012-01-27, 00:35
monitor. https://issues.apache.org/jira/browse/ZOOKEEPER-744

Patrick

On Thu, Jan 26, 2012 at 4:33 PM, Marshall McMullen
<[EMAIL PROTECTED]> wrote:
> Out of curiosity, what does 'mntr' stand for?
>
> On Thu, Jan 26, 2012 at 5:19 PM, Patrick Hunt <[EMAIL PROTECTED]> wrote:
>
>> On Thu, Jan 26, 2012 at 3:37 PM, Jordan Zimmerman
>> <[EMAIL PROTECTED]> wrote:
>> > Is 'srvr' the same as 'stat' but without the clients? I'm relying on it
>> in
>> > a monitor app. I need to the Mode and the message "not currently
>> serving".
>>
>> Yes, it's the exact same code path (stat/srvr) with a condition that
>> outputs the connection details only on 'stat'.
>>
>> Patrick
>>
>> >
>> > On 1/25/12 3:32 PM, "Patrick Hunt" <[EMAIL PROTECTED]> wrote:
>> >
>> >>Prefer "srvr" over "stat" in most cases - stat returns details on the
>> >>connections which you probably don't need. (and adds unnecessary load
>> >>on the server)
>> >
>>