zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Rantil <jens.ran...@tink.se>
Subject Re: view number of zookeeper nodes in a single ensemble
Date Mon, 14 Dec 2015 16:23:30 GMT
Hi Kaushal,

You can always execute

$ grep '^server.' /etc/zookeeper/conf/zoo.cnf|wc -l
3

on a server.

Cheers,
Jens

On Mon, Dec 14, 2015 at 2:32 PM, Kaushal Shriyan <kaushalshriyan@gmail.com>
wrote:

> Hi,
>
> is there a way to see how many nodes are in a single ensemble? For example
> we have nodetool ring in Cassandra which shows the total number of nodes in
> local datacenter and across datacenters.
>
> Regards,
>
> Kaushal
>



-- 
Jens Rantil
Backend engineer
Tink AB

Email: jens.rantil@tink.se
Phone: +46 708 84 18 32
Web: www.tink.se

Facebook <https://www.facebook.com/#!/tink.se> Linkedin
<http://www.linkedin.com/company/2735919?trk=vsrp_companies_res_photo&trkInfo=VSRPsearchId%3A1057023381369207406670%2CVSRPtargetId%3A2735919%2CVSRPcmpt%3Aprimary>
 Twitter <https://twitter.com/tink>

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