Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C913018CDF for ; Thu, 17 Dec 2015 17:01:07 +0000 (UTC) Received: (qmail 29613 invoked by uid 500); 17 Dec 2015 17:01:07 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 29562 invoked by uid 500); 17 Dec 2015 17:01:07 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 29551 invoked by uid 99); 17 Dec 2015 17:01:06 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2015 17:01:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 698C81A1219 for ; Thu, 17 Dec 2015 17:01:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.874 X-Spam-Level: X-Spam-Status: No, score=0.874 tagged_above=-999 required=6.31 tests=[FSL_HELO_BARE_IP_2=0.873, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id SPNE08YMioo2 for ; Thu, 17 Dec 2015 17:00:53 +0000 (UTC) Received: from relayvx12c.securemail.intermedia.net (relayvx12c.securemail.intermedia.net [64.78.52.187]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 5622E2051D for ; Thu, 17 Dec 2015 17:00:53 +0000 (UTC) Received: from securemail.intermedia.net (localhost [127.0.0.1]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by emg-ca-1-2.localdomain (Postfix) with ESMTPS id 01EC953DFC; Thu, 17 Dec 2015 09:00:53 -0800 (PST) Subject: Re: view number of zookeeper nodes in a single ensemble MIME-Version: 1.0 x-echoworx-msg-id: dd54db06-cdee-4c39-9b69-d8d7cbc9cfe1 x-echoworx-emg-received: Thu, 17 Dec 2015 09:00:52.926 -0800 x-echoworx-action: delivered Received: from 10.254.155.17 ([10.254.155.17]) by emg-ca-1-2 (JAMES SMTP Server 2.3.2) with SMTP ID 802; Thu, 17 Dec 2015 09:00:52 -0800 (PST) Received: from MBX080-W4-CO-1.exch080.serverpod.net (unknown [10.224.117.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by emg-ca-1-2.localdomain (Postfix) with ESMTPS id B345653DFC; Thu, 17 Dec 2015 09:00:52 -0800 (PST) Received: from MBX080-W4-CO-2.exch080.serverpod.net (10.224.117.102) by MBX080-W4-CO-1.exch080.serverpod.net (10.224.117.101) with Microsoft SMTP Server (TLS) id 15.0.1130.7; Thu, 17 Dec 2015 09:00:51 -0800 Received: from MBX080-W4-CO-2.exch080.serverpod.net ([10.224.117.102]) by mbx080-w4-co-2.exch080.serverpod.net ([10.224.117.102]) with mapi id 15.00.1130.005; Thu, 17 Dec 2015 09:00:51 -0800 From: Chris Nauroth To: "user@zookeeper.apache.org" CC: Jens Rantil Thread-Topic: view number of zookeeper nodes in a single ensemble Thread-Index: AQHROChhXMc8QkScYEKTknjNxKvlq57PVTmAgAATbAA= Date: Thu, 17 Dec 2015 17:00:51 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [50.181.140.32] x-source-routing-agent: Processed Content-Type: text/plain; charset="us-ascii" Content-ID: <224BF465B7D76F4F8A85696ED06EF6E7@exch080.serverpod.net> Content-Transfer-Encoding: quoted-printable No, dynamic reconfiguration is a new feature in the 3.5 line, so it isn't available in 3.4.5, and it won't ship in any future maintenance releases on the 3.4 line. --Chris Nauroth On 12/16/15, 11:51 PM, "Kaushal Shriyan" wrote: >Hi Chris, > >Thanks for the reply. I am using Zookeeper version 3.4.5. Is it available >in this specific version? > >Regards, > >Kaushal > >On Wed, Dec 16, 2015 at 11:07 PM, Chris Nauroth >wrote: > >> If you're using the dynamic reconfiguration feature available in the 3.5 >> release line, then you might prefer to use the "config" CLI command. >> Instead of the static configuration files, this command reads the >>current >> dynamic configuration stored in the config znode. More details are >> available here: >> >>=20 >>http://zookeeper.apache.org/doc/r3.5.1-alpha/zookeeperReconfig.html#sc_re >>co >> nfig_retrieving >> >> >> --Chris Nauroth >> >> >> >> >> On 12/14/15, 8:23 AM, "Jens Rantil" wrote: >> >> >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 >> > >> >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 Linkedin >> >< >>=20 >>http://www.linkedin.com/company/2735919?trk=3Dvsrp_companies_res_photo&tr= kI >>=20 >>>nfo=3DVSRPsearchId%3A1057023381369207406670%2CVSRPtargetId%3A2735919%2CV= SR >>>Pc >> >mpt%3Aprimary> >> > Twitter >> >>