zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mahadev Konar <maha...@yahoo-inc.com>
Subject Re: killing zookeeper when used with CI with version 3.2.0+
Date Wed, 12 Jan 2011 04:09:20 GMT
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.


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

View raw message