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 504B01867E for ; Mon, 14 Dec 2015 16:24:09 +0000 (UTC) Received: (qmail 76547 invoked by uid 500); 14 Dec 2015 16:24:08 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 76488 invoked by uid 500); 14 Dec 2015 16:24:08 -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 76470 invoked by uid 99); 14 Dec 2015 16:24:07 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Dec 2015 16:24:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 1F03D180497 for ; Mon, 14 Dec 2015 16:24:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.901 X-Spam-Level: ** X-Spam-Status: No, score=2.901 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=tink.se Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id M399pgX_HbkW for ; Mon, 14 Dec 2015 16:23:52 +0000 (UTC) Received: from mail-qk0-f170.google.com (mail-qk0-f170.google.com [209.85.220.170]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 6A54620EBA for ; Mon, 14 Dec 2015 16:23:51 +0000 (UTC) Received: by qkht125 with SMTP id t125so142345472qkh.3 for ; Mon, 14 Dec 2015 08:23:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tink.se; s=tink; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=dL6ILo7GlF3tL28HNocM2MIFYrRzgXPVIIC59Tgvevw=; b=XP3ZOa4nYL9eam3YBggRfXhxlsHdOXF5XyR23e5N+PiPzgbYj8o1/GAu+rzlYTAg0V 8tCBLZh+hZle6/99+rEIqv8a+TmD38qICI9YjT38JaQbc//XWD8Rzm/+VHofqSY54jeB tNRw0+EQ4wd2oceKA3uqsqOjzqS/YvbP05tOw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=dL6ILo7GlF3tL28HNocM2MIFYrRzgXPVIIC59Tgvevw=; b=Me9iGhpYj1yHzzkV/p7Vpp4HYvs/+FlI9XsDPGDN5F2vRVg6T6Y6uu5j2hiN8bNrap xj80AkPOsDVcQJ7i6VCMwXJr5bvBGnxoSz1gL/MMLTWh0j9Uy/gUAc85qX0xv6oH5W85 ntAOpumYh+f0eJtW6yFNMT2UptWw0KSW1c0NL1u9THsfbhXOxMeV/x8yLty/w7fwRRw9 HW+qT1eev3aSbs3vITHysHkKSBlCfrPFbWkmfxrHk8rR43njMBKHMcIhLEMwsyn1rWCm jfESKtUsMf/8ihfe8SSDFa21fs1EWAI4FrTMQkVja5V/+/y7YGOOUTSpDzN9Dw2LvUor WbPA== X-Gm-Message-State: ALoCoQmvNN6HszPxSHIg7WC+Dhej5nBn9C7JrEeAkAlH2js/DLWA62MPTGULghLHz+FrkscsGfEqkrsSeCqkCbJaQNk8aoU3/Q== X-Received: by 10.129.42.212 with SMTP id q203mr19793250ywq.141.1450110230156; Mon, 14 Dec 2015 08:23:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.32.130 with HTTP; Mon, 14 Dec 2015 08:23:30 -0800 (PST) In-Reply-To: References: From: Jens Rantil Date: Mon, 14 Dec 2015 17:23:30 +0100 Message-ID: Subject: Re: view number of zookeeper nodes in a single ensemble To: "" Content-Type: multipart/alternative; boundary=001a11429cb027881a0526de1917 --001a11429cb027881a0526de1917 Content-Type: text/plain; charset=UTF-8 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 Twitter --001a11429cb027881a0526de1917--