zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Doroshenko <dors...@gmail.com>
Subject Re: total # nodes
Date Sat, 24 Jul 2010 19:20:58 GMT
You may want to use 4-letter-word commands:
http://hadoop.apache.org/zookeeper/docs/current/zookeeperAdmin.html#sc_zkCommands

"srvr" command dumps node count along with other information.

Also, there's a patch integrated to trunk, at
https://issues.apache.org/jira/browse/ZOOKEEPER-744, which introduces "mntr"
command that also dumps a lot of useful data, in particular # of nodes and
approx data size.

On Sat, Jul 24, 2010 at 5:31 PM, Maarten Koopmans <maarten@vrijheid.net>wrote:

> Hi,
>
> Relating to the previous question: is there a quick way to get the total #
> nodes in a Zookeeper cluster (so I can determine utilization)?
>
> Best,
>
> Maarten
>



-- 
Regards, Sergey
http://dorserg.com

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