zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rakesh R <rake...@huawei.com>
Subject RE: From standalone ZK instance to 3 instances
Date Thu, 21 Nov 2013 05:25:40 GMT
Hi Micheal,

Nice to hear about the progress and all the best for your efforts. 
Adding one more point, which will be helpful to see general information about zookeeper server.

There is an interesting set of "4 letter words" in zookeeper.
Please refer section : http://zookeeper.apache.org/doc/trunk/zookeeperAdmin.html#sc_zkCommands

For example, 'stat' command will give the details as follows and will get to know the running

Zookeeper version: 3.4.5-21786, built on 10/17/2013 02:02 GMT

Latency min/avg/max: 0/0/309
Received: 1106514
Sent: 1106515
Connections: 6
Outstanding: 0
Zxid: 0x1000037f3
Mode: leader
Node count: 2756


-----Original Message-----
From: michael.boom [mailto:my_sky_mc@yahoo.com] 
Sent: 20 November 2013 21:03
To: zookeeper-user@hadoop.apache.org
Subject: Re: From standalone ZK instance to 3 instances

Hmm, I think you were right. Thank you!
I changed the conf from hostnames to IPs, and now it looks better.

However, when i connect with zkCli i get from both instances the message:


WatchedEvent state:SyncConnected type:None path:null
[zk: localhost:9983(CONNECTED) 0]

Shouldn't one of them had become LEADER ? Or, am i looking in the wrong place?
Also, to be noted that the second ZK has replicated the state from the first.

View this message in context: http://zookeeper-user.578899.n2.nabble.com/From-standalone-ZK-instance-to-3-instances-tp7579325p7579343.html
Sent from the zookeeper-user mailing list archive at Nabble.com.

View raw message