Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EC7E110844 for ; Fri, 16 Aug 2013 21:03:00 +0000 (UTC) Received: (qmail 48142 invoked by uid 500); 16 Aug 2013 21:02:57 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 48086 invoked by uid 500); 16 Aug 2013 21:02:57 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 48078 invoked by uid 99); 16 Aug 2013 21:02:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Aug 2013 21:02:57 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of boogie@ebrary.com does not designate 213.199.154.253 as permitted sender) Received: from [213.199.154.253] (HELO db9outboundpool.messaging.microsoft.com) (213.199.154.253) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Aug 2013 21:02:50 +0000 Received: from mail24-db9-R.bigfish.com (10.174.16.248) by DB9EHSOBE035.bigfish.com (10.174.14.98) with Microsoft SMTP Server id 14.1.225.22; Fri, 16 Aug 2013 21:02:28 +0000 Received: from mail24-db9 (localhost [127.0.0.1]) by mail24-db9-R.bigfish.com (Postfix) with ESMTP id 65CD8460192 for ; Fri, 16 Aug 2013 21:02:28 +0000 (UTC) X-Forefront-Antispam-Report: CIP:157.56.241.101;KIP:(null);UIP:(null);IPV:NLI;H:BL2PRD0810HT004.namprd08.prod.outlook.com;RD:none;EFVD:NLI X-SpamScore: -3 X-BigFish: PS-3(zzbb2dI98dI9371I1432I4015Izz1f42h208ch1ee6h1de0h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hzz1de098h17326ah1de096h8275bh8275dh1de097hz31h2a8h839h944hd24hf0ah1220h1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h18e1h1946h19b5h19ceh1ad9h1b0ah1d07h1d0ch1d2eh1d3fh1de9h1dfeh1dffh1e1dh1fe8h1ff5h9a9j1155h) Received-SPF: softfail (mail24-db9: transitioning domain of ebrary.com does not designate 157.56.241.101 as permitted sender) client-ip=157.56.241.101; envelope-from=boogie@ebrary.com; helo=BL2PRD0810HT004.namprd08.prod.outlook.com ;.outlook.com ; X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(51704005)(199002)(164054003)(189002)(24454002)(377454003)(479174003)(56776001)(54316002)(53806001)(74366001)(76482001)(31966008)(74662001)(74876001)(81686001)(79102001)(59766001)(77982001)(54356001)(74706001)(63696002)(74316001)(80976001)(83072001)(51856001)(19580395003)(74502001)(47446002)(19580385001)(83322001)(19580405001)(49866001)(65816001)(50986001)(81542001)(81342001)(47736001)(46102001)(80022001)(66066001)(33646001)(77096001)(76786001)(15202345003)(76796001)(76576001)(47976001)(4396001)(69226001)(56816003)(81816001)(24736002);DIR:OUT;SFP:;SCL:1;SRVR:BN1PR08MB185;H:BN1PR08MB186.namprd08.prod.outlook.com;CLIP:64.124.22.9;RD:InfoNoRecords;A:1;MX:1;LANG:en; Received: from mail24-db9 (localhost.localdomain [127.0.0.1]) by mail24-db9 (MessageSwitch) id 1376686946721563_13676; Fri, 16 Aug 2013 21:02:26 +0000 (UTC) Received: from DB9EHSMHS025.bigfish.com (unknown [10.174.16.228]) by mail24-db9.bigfish.com (Postfix) with ESMTP id A5600C0066 for ; Fri, 16 Aug 2013 21:02:26 +0000 (UTC) Received: from BL2PRD0810HT004.namprd08.prod.outlook.com (157.56.241.101) by DB9EHSMHS025.bigfish.com (10.174.14.35) with Microsoft SMTP Server (TLS) id 14.16.227.3; Fri, 16 Aug 2013 21:02:17 +0000 Received: from BN1PR08MB185.namprd08.prod.outlook.com (10.255.203.139) by BL2PRD0810HT004.namprd08.prod.outlook.com (10.255.110.39) with Microsoft SMTP Server (TLS) id 14.16.347.3; Fri, 16 Aug 2013 21:02:14 +0000 Received: from BN1PR08MB186.namprd08.prod.outlook.com (10.255.203.140) by BN1PR08MB185.namprd08.prod.outlook.com (10.255.203.139) with Microsoft SMTP Server (TLS) id 15.0.745.25; Fri, 16 Aug 2013 21:02:12 +0000 Received: from BN1PR08MB186.namprd08.prod.outlook.com ([169.254.6.107]) by BN1PR08MB186.namprd08.prod.outlook.com ([169.254.6.107]) with mapi id 15.00.0745.000; Fri, 16 Aug 2013 21:02:12 +0000 From: Boogie Shafer To: "solr-user@lucene.apache.org" Subject: RE: external zookeeper with SolrCloud Thread-Topic: external zookeeper with SolrCloud Thread-Index: AQHOZ9MZpr+LKDmW1Uaeyb58348ntgFfSTTQmY2b/YCAAA0lAIAAFDgy Date: Fri, 16 Aug 2013 21:02:12 +0000 Message-ID: <19cc3bf70eb0441c96e0ceed070a5075@BN1PR08MB186.namprd08.prod.outlook.com> References: <52041CF6.4010804@elyograg.org> <520508FB.7090207@elyograg.org> <5205318C.10507@elyograg.org> <5 20E76F3.20807@elyograg.org>, In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [64.124.22.9] x-forefront-prvs: 0940A19703 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: eBrary.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% X-Virus-Checked: Checked by ClamAV on apache.org good stuff=0A= =0A= here is a more recent version of the same resource as they have added a few= new commands in the recent releases of zookeeper=0A= =0A= http://zookeeper.apache.org/doc/r3.4.5/zookeeperAdmin.html#sc_zkCommands=0A= =0A= =0A= ________________________________________=0A= From: Walter Underwood =0A= Sent: Friday, August 16, 2013 12:48=0A= To: solr-user@lucene.apache.org=0A= Subject: Re: external zookeeper with SolrCloud=0A= =0A= You might be able to get info from the Zookeeper "four letter words".=0A= =0A= http://zookeeper.apache.org/doc/r3.1.2/zookeeperAdmin.html#sc_zkCommands=0A= =0A= Here is a command to get the status for one of our Zookeeper hosts:=0A= =0A= $ echo stat | nc zk-web02.test3.cloud.cheggnet.com 2181=0A= =0A= wunder=0A= =0A= On Aug 16, 2013, at 12:01 PM, Shawn Heisey wrote:=0A= =0A= > On 8/16/2013 11:58 AM, Joshi, Shital wrote:=0A= >> Is there a way to find if We have a zookeeper quorum? We can ping indivi= dual zookeeper and see if it is running, but it would be nice to ping/query= one URL and check if we have a quorum.=0A= >=0A= > This is a really good question, to which I do not have an answer. If you= r client code is Java, you could probably get this information out of Cloud= SolrServer, with something like this:=0A= >=0A= > server.getZkStateReader().getZkClient().getSolrZooKeeper().getState();=0A= >=0A= > If the state is CONNECTED everything's probably fine.=0A= >=0A= > If anyone who's dealt with Zookeeper happens to know whether this would w= ork, I'd appreciate knowing. For Solr, it is probably a good idea to expos= e something via an admin handler with the current zookeeper quorum state.= =0A= >=0A= > Thanks,=0A= > Shawn=0A= >=0A=