zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Hunt <ph...@apache.org>
Subject Re: killing zookeeper when used with CI with version 3.2.0+
Date Wed, 12 Jan 2011 07:01:19 GMT
I believe jira 346 is saying that JMX could be used, not that it
currently has that capability. I took a look at the current beans and
I can't find a current method that implements shutdown (kill). As of
today the best way to kill the server is as Mahadev suggests.

Patrick

On Tue, Jan 11, 2011 at 8:09 PM, Mahadev Konar <mahadev@yahoo-inc.com> wrote:
> Hi Bryan,
>  I am not sure if you can kill a zookeeper server with jmx. Usually all our
> scripts store the pid of zookeeper in a file and then do a kill ­9 on
> zookeeper pid on a stop.
>
> Thanks
> mahadev
>
>
> On 1/10/11 4:14 AM, "Bryan Thompson" <bryan@systap.com> wrote:
>
>> Hello,
>>
>> Before 3.2.0, we used to issue the "kill" command to the client port to tear
>> down a standalone zookeeper process started when running our unit tests.  This
>> command was removed [1].  That issue makes mention of other ways to kill
>> zookeeper programmatically, e.g., using JMX.  I've looked over the zookeeper
>> documentation against, tried finding this with a search engine, and examined a
>> running zookeeper instance using jconsole, but I can not figure out how to
>> kill the zookeeper process using JMX.
>>
>> Could someone please spell out exactly how to kill a standalone zookeeper
>> process with JMX and/or other mechanisms under program control?
>>
>> Thanks,
>> Bryan
>>
>> [1] https://issues.apache.org/jira/browse/ZOOKEEPER-346
>>
>
>

Mime
View raw message