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.
-Flavio
> On 27 Apr 2015, at 14:55, Eyal Bar <eyal.bar@kenshoo.com> wrote:
>
> Hi,
>
> 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=50
> # The number of milliseconds of each tick
> tickTime=2000
> # The number of ticks that the initial
> # synchronization phase can take
> initLimit=10
> # The number of ticks that can pass between
> # sending a request and getting an acknowledgement
> syncLimit=5
> # the directory where the snapshot is stored.
> dataDir=/var/lib/zookeeper
> # the port at which the clients will connect
> clientPort=2181
>
> Thanks,
>
>
> On Sun, Apr 26, 2015 at 5:04 PM, Flavio Junqueira <
> fpjunqueira@yahoo.com.invalid> wrote:
>
>> 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.
>>
>> -Flavio
>>
>>> On 26 Apr 2015, at 08:56, Eyal Bar <eyal.bar@kenshoo.com> wrote:
>>>
>>> Hi,
>>>
>>> The Zookeeper servers (3 servers) were installed as part of the Cloudera
>>> Hadoop High Availability installation.
>>>
>>> In the following Cloudera documentation link,
>>>
>> http://www.cloudera.com/content/cloudera/en/documentation/core/v5-2-x/topics/cdh_ig_ports_cdh5.html
>> ,
>>> you can notice that the port 3181 is described as part of the Zookeeper
>>> ports used.
>>>
>>> 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?
>>>
>>> Best,
>>>
>>> On Thu, Apr 23, 2015 at 5:20 AM, Rakesh Radhakrishnan <
>>> rakeshr.apache@gmail.com> wrote:
>>>
>>>> Hi Eyal,
>>>>
>>>> ZooKeeper and BookKeeper are two different services.
>>>>
>>>> Are you trying to setup only zookeeper cluster? Can you show the
>>>> configurations and the command to start the servers.
>>>>
>>>> Regards,
>>>> Rakesh
>>>>
>>>> On Wed, Apr 22, 2015 at 1:17 PM, Eyal Bar <eyal.bar@kenshoo.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> 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?
>>>>>
>>>>> CDH5 = Cloudera Hadoop version 5 not Cassandra.
>>>>>
>>>>> Best,
>>>>> On Apr 21, 2015 5:57 PM, "Flavio Junqueira"
>> <fpjunqueira@yahoo.com.invalid
>>>>>>
>>>>> wrote:
>>>>>
>>>>>> I'm confused, you refer to bookie, is it about bookkeeper?
>>>>>>
>>>>>> Also, you may want to ask Cloudera folks directly about their
>>>>>> distribution, you're likely to get a better answer.
>>>>>>
>>>>>> -Flavio
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: "Eyal Bar" <eyal.bar@kenshoo.com>
>>>>>> Sent: 4/21/2015 2:27 PM
>>>>>> To: "user@zookeeper.apache.org" <user@zookeeper.apache.org>
>>>>>> Subject: Zookeeper port 3181
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I have a CDH5 installed with HA configuration and part on this
>>>>> installation
>>>>>> are 3 Zookeeper servers.
>>>>>>
>>>>>> 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.
>>>>>>
>>>>>> Do any of you know why port 3181 isn't open on *all *3 Zookeepers?
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> --
>>>>>> *[ 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 <Eyal.Bar@Kenshoo.com>*
>>>>>> <Eyal.Hashai@Kenshoo.com>* <Eyal.Hashai@Kenshoo.com>*
>>>>>> _______________________________________
>>>>>> *www.Kenshoo.com* <http://kenshoo.com/>
>>>>>>
>>>>>> --
>>>>>> 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.
>>>>>>
>>>>>
>>>>> --
>>>>> 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.
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> *[ 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 <Eyal.Bar@Kenshoo.com>*
>>> <Eyal.Hashai@Kenshoo.com>* <Eyal.Hashai@Kenshoo.com>*
>>> _______________________________________
>>> *www.Kenshoo.com* <http://kenshoo.com/>
>>>
>>> --
>>> 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.
>>
>>
>
>
> --
> Eyal Bar
> BigData and MySQL Database Administrator - Data Group | Kenshoo
> *Office* +972 (3) 746-6500 *473
> *Mobile* +972 (52) 458-6100
> www.Kenshoo.com <http://www.kenshoo.com/>
> [image: Transform your marketing. Grow your business.]
> <http://www.kenshoo.com/>
>
> --
> 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.
|