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 B7142175F6 for ; Mon, 27 Apr 2015 15:32:07 +0000 (UTC) Received: (qmail 67434 invoked by uid 500); 27 Apr 2015 15:32:07 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 67386 invoked by uid 500); 27 Apr 2015 15:32: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 67369 invoked by uid 99); 27 Apr 2015 15:32:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2015 15:32:06 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=FORGED_YAHOO_RCVD,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: message received from 54.76.25.247 which is an MX secondary for user@zookeeper.apache.org) Received: from [54.76.25.247] (HELO mx1-eu-west.apache.org) (54.76.25.247) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2015 15:31:40 +0000 Received: from nm11-vm1.bullet.mail.bf1.yahoo.com (nm11-vm1.bullet.mail.bf1.yahoo.com [98.139.213.152]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 275EA27F96 for ; Mon, 27 Apr 2015 15:31:39 +0000 (UTC) Received: from [66.196.81.170] by nm11.bullet.mail.bf1.yahoo.com with NNFMP; 27 Apr 2015 15:31:38 -0000 Received: from [98.139.213.9] by tm16.bullet.mail.bf1.yahoo.com with NNFMP; 27 Apr 2015 15:31:38 -0000 Received: from [127.0.0.1] by smtp109.mail.bf1.yahoo.com with NNFMP; 27 Apr 2015 15:31:38 -0000 X-Yahoo-Newman-Id: 141076.18259.bm@smtp109.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: FbZgY9YVM1lz7kJNOv_X3YgbDUKGh7o0ZC1ZStjLKyaRlQc QJWsuognK7NpfTb7i0gmQtuLy_tpLEzKGxnX6hBeLtKsp.ewaIHlXz5YONKb kxQyBS500aME329jU.K1Ggd1AtNxSYPBVJ6dC3VpnW7GWenSoD1PqZ__Wf2N qH.SVAzgoSMr9FZp5T1bAXYBC5c1XfYi0n7df35PfzUNLAYyigMcMTpsYlnB X4POut4R4iVnlnCFPUTDuhaaTb0RmpFdu3NBhAlChy.OlYKgd8i0ZCAEKdso _OJAozaQQfoWB.KFUfwcCxvfz3j1fAGlvQbnK9wGfNU8sT3kF9O7626PmGSB VI7dk9uCF_dRBls8P86t2wb3wh3nk46gAZ3xUy_GqN_J6JLpv1bqDTOknU3. R0zO17s526gvyzoAJc1qCOiFuC7YBwFyViCkeFyzSOMi7Z.vmD9qIVMvdRLZ p9Ghwx3JxyeX2qmg3vvEhljDGNLJWkBNRCETrvigSnXhn1eCP_OAyBztexEu Eo.EZ06bWbfrQ5F6Tyj3pAR37Pvo- X-Yahoo-SMTP: HT5UJDeswBACWJPOeualxAa.da..S.fl Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: Zookeeper port 3181 From: Flavio Junqueira In-Reply-To: Date: Mon, 27 Apr 2015 16:31:36 +0100 Cc: Rakesh Radhakrishnan Content-Transfer-Encoding: quoted-printable Message-Id: References: <242292.28037.bm@smtp108.mail.bf1.yahoo.com> <65E768E0-DD3E-473D-BD26-2B200E0A5628@yahoo.com> To: user@zookeeper.apache.org X-Mailer: Apple Mail (2.2070.6) X-Virus-Checked: Checked by ClamAV on apache.org Eyal, It doesn't look like your config is set to run in quorum mode at all, = you're running standalone servers if this is really the config you're = using. I suggest you either contact Cloudera or read the the online = documentation to become familiar with running ZK.=20 -Flavio =20 > On 27 Apr 2015, at 14:55, Eyal Bar wrote: >=20 > Hi, >=20 > 1 ) Who determines who would be the Zookeeper leader out of 3 = installed > Zookeepers? > 2) Do we always have a leader? > 3) What causes the leader to move from server to server if it moves? > 3) The contents of the zoo.cfg file of the server on which the port = 3181 in > open: > maxClientCnxns=3D50 > # The number of milliseconds of each tick > tickTime=3D2000 > # The number of ticks that the initial > # synchronization phase can take > initLimit=3D10 > # The number of ticks that can pass between > # sending a request and getting an acknowledgement > syncLimit=3D5 > # the directory where the snapshot is stored. > dataDir=3D/var/lib/zookeeper > # the port at which the clients will connect > clientPort=3D2181 >=20 > Thanks, >=20 >=20 > On Sun, Apr 26, 2015 at 5:04 PM, Flavio Junqueira < > fpjunqueira@yahoo.com.invalid> wrote: >=20 >> It could be the leader listening, in which case you'd have just one >> typically. Perhaps if you share your config file, we can help out. >>=20 >> -Flavio >>=20 >>> On 26 Apr 2015, at 08:56, Eyal Bar wrote: >>>=20 >>> Hi, >>>=20 >>> The Zookeeper servers (3 servers) were installed as part of the = Cloudera >>> Hadoop High Availability installation. >>>=20 >>> In the following Cloudera documentation link, >>>=20 >> = http://www.cloudera.com/content/cloudera/en/documentation/core/v5-2-x/topi= cs/cdh_ig_ports_cdh5.html >> , >>> you can notice that the port 3181 is described as part of the = Zookeeper >>> ports used. >>>=20 >>> My question is why this port, 3181, is only open in 1 out of the 3 >>> installed Zookeepers? Can it be that in any given time only one = server >> can >>> listens on this port as part of a master\slave service architecture? >>>=20 >>> Best, >>>=20 >>> On Thu, Apr 23, 2015 at 5:20 AM, Rakesh Radhakrishnan < >>> rakeshr.apache@gmail.com> wrote: >>>=20 >>>> Hi Eyal, >>>>=20 >>>> ZooKeeper and BookKeeper are two different services. >>>>=20 >>>> Are you trying to setup only zookeeper cluster? Can you show the >>>> configurations and the command to start the servers. >>>>=20 >>>> Regards, >>>> Rakesh >>>>=20 >>>> On Wed, Apr 22, 2015 at 1:17 PM, Eyal Bar = wrote: >>>>=20 >>>>> Hi, >>>>>=20 >>>>> The bookkeeper service listens on port 3181 as I read from the >>>>> documentation ( >>>>> http://zookeeper.apache.org/doc/r3.3.6/bookkeeperStarted.html). >>>>> The question is why is this port only open on 1 out of 3 installed >>>>> zookeeper servers. Is there always one live bookkeeper out of the = 3 >>>>> zookeeper? >>>>>=20 >>>>> CDH5 =3D Cloudera Hadoop version 5 not Cassandra. >>>>>=20 >>>>> Best, >>>>> On Apr 21, 2015 5:57 PM, "Flavio Junqueira" >> >>>>>=20 >>>>> wrote: >>>>>=20 >>>>>> I'm confused, you refer to bookie, is it about bookkeeper? >>>>>>=20 >>>>>> Also, you may want to ask Cloudera folks directly about their >>>>>> distribution, you're likely to get a better answer. >>>>>>=20 >>>>>> -Flavio >>>>>>=20 >>>>>> -----Original Message----- >>>>>> From: "Eyal Bar" >>>>>> Sent: =E2=80=8E4/=E2=80=8E21/=E2=80=8E2015 2:27 PM >>>>>> To: "user@zookeeper.apache.org" >>>>>> Subject: Zookeeper port 3181 >>>>>>=20 >>>>>> Hi, >>>>>>=20 >>>>>> I have a CDH5 installed with HA configuration and part on this >>>>> installation >>>>>> are 3 Zookeeper servers. >>>>>>=20 >>>>>> I have noticed that port 3181, which the bookie uses to listens = for >>>>>> connection requests from clients, is open only on 1 out of the 3 >>>>> installed >>>>>> Zookeepers servers. >>>>>>=20 >>>>>> Do any of you know why port 3181 isn't open on *all *3 = Zookeepers? >>>>>>=20 >>>>>> Thanks, >>>>>>=20 >>>>>> -- >>>>>> *[ Eyal Bar ]* >>>>>> MySQL and Cassandra Database Administrator - Infrastructure Team = // >>>>>> *Kenshoo* >>>>>> *Office* +972 (3) 746-6500 x473 // *Mobile* +972 (52) 458-6100 >>>>>> *Eyal.Bar@Kenshoo.com * >>>>>> * * >>>>>> _______________________________________ >>>>>> *www.Kenshoo.com* >>>>>>=20 >>>>>> -- >>>>>> This e-mail, as well as any attached document, may contain = material >>>>> which >>>>>> is confidential and privileged and may include trademark, = copyright >> and >>>>>> other intellectual property rights that are proprietary to = Kenshoo >> Ltd, >>>>>> its subsidiaries or affiliates ("Kenshoo"). This e-mail and its >>>>>> attachments may be read, copied and used only by the addressee = for the >>>>>> purpose(s) for which it was disclosed herein. If you have = received it >> in >>>>>> error, please destroy the message and any attachment, and contact = us >>>>>> immediately. If you are not the intended recipient, be aware that = any >>>>>> review, reliance, disclosure, copying, distribution or use of the >>>>> contents >>>>>> of this message without Kenshoo's express permission is strictly >>>>>> prohibited. >>>>>>=20 >>>>>=20 >>>>> -- >>>>> This e-mail, as well as any attached document, may contain = material >> which >>>>> is confidential and privileged and may include trademark, = copyright and >>>>> other intellectual property rights that are proprietary to Kenshoo = Ltd, >>>>> its subsidiaries or affiliates ("Kenshoo"). This e-mail and its >>>>> attachments may be read, copied and used only by the addressee for = the >>>>> purpose(s) for which it was disclosed herein. If you have received = it >> in >>>>> error, please destroy the message and any attachment, and contact = us >>>>> immediately. If you are not the intended recipient, be aware that = any >>>>> review, reliance, disclosure, copying, distribution or use of the >> contents >>>>> of this message without Kenshoo's express permission is strictly >>>>> prohibited. >>>>>=20 >>>>=20 >>>>=20 >>>=20 >>>=20 >>> -- >>> *[ Eyal Bar ]* >>> MySQL and Cassandra Database Administrator - Infrastructure Team // >>> *Kenshoo* >>> *Office* +972 (3) 746-6500 x473 // *Mobile* +972 (52) 458-6100 >>> *Eyal.Bar@Kenshoo.com * >>> * * >>> _______________________________________ >>> *www.Kenshoo.com* >>>=20 >>> -- >>> This e-mail, as well as any attached document, may contain material = which >>> is confidential and privileged and may include trademark, copyright = and >>> other intellectual property rights that are proprietary to Kenshoo = Ltd, >>> its subsidiaries or affiliates ("Kenshoo"). This e-mail and its >>> attachments may be read, copied and used only by the addressee for = the >>> purpose(s) for which it was disclosed herein. If you have received = it in >>> error, please destroy the message and any attachment, and contact us >>> immediately. If you are not the intended recipient, be aware that = any >>> review, reliance, disclosure, copying, distribution or use of the >> contents >>> of this message without Kenshoo's express permission is strictly >> prohibited. >>=20 >>=20 >=20 >=20 > --=20 > Eyal Bar > BigData and MySQL Database Administrator - Data Group | Kenshoo > *Office* +972 (3) 746-6500 *473 > *Mobile* +972 (52) 458-6100 > www.Kenshoo.com > [image: Transform your marketing. Grow your business.] > >=20 > --=20 > This e-mail, as well as any attached document, may contain material = which=20 > is confidential and privileged and may include trademark, copyright = and=20 > other intellectual property rights that are proprietary to Kenshoo = Ltd,=20 > its subsidiaries or affiliates ("Kenshoo"). This e-mail and its=20 > attachments may be read, copied and used only by the addressee for the=20= > purpose(s) for which it was disclosed herein. If you have received it = in=20 > error, please destroy the message and any attachment, and contact us=20= > immediately. If you are not the intended recipient, be aware that any=20= > review, reliance, disclosure, copying, distribution or use of the = contents=20 > of this message without Kenshoo's express permission is strictly = prohibited.