You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by kamaci <fu...@gmail.com> on 2013/05/18 02:10:52 UTC

Just One Zookeeper Can Not Work at Quorum at Any Time

I have 3 zookeeper ensemble as a quorum at aws. I use them for my SolrCloud
nodes.

I have a weird problem about my Zookeeper instances. *When I start 3 of them
only 2 of them is working.* When I stop one of working Zookeeper and start
the broken one it starts successfully. 

However when I start the one that I have just stopped, this time it gives
error and can not start. It says:

Opening socket connection ... will not attempt to authenticate using SASL
(unknown error)
Socket connection established...

Unable to read additional data from server sessionid 0x0, likely server has
closed socket, closing socket connection and attempting reconnect

When I run ./zkCli.sh it says connecting and when I do something like 

ls / 

it throws Connection loss for / and throws Keeper Exception.

Any ideas?




--
View this message in context: http://zookeeper-user.578899.n2.nabble.com/Just-One-Zookeeper-Can-Not-Work-at-Quorum-at-Any-Time-tp7578692.html
Sent from the zookeeper-user mailing list archive at Nabble.com.

Re: Just One Zookeeper Can Not Work at Quorum at Any Time

Posted by kamaci <fu...@gmail.com>.
OK, I found the problem. There was a misconfiguration at zookeeper. myid and
server.myid was not maching for some zookeeper servers.



--
View this message in context: http://zookeeper-user.578899.n2.nabble.com/Just-One-Zookeeper-Can-Not-Work-at-Quorum-at-Any-Time-tp7578692p7578700.html
Sent from the zookeeper-user mailing list archive at Nabble.com.

RE: Just One Zookeeper Can Not Work at Quorum at Any Time

Posted by Flavio Junqueira <fp...@yahoo.com>.
I think we would need some more info from the logs to sort this one out. The
config file you're using might also help.

-Flavio

-----Original Message-----
From: kamaci [mailto:furkankamaci@gmail.com] 
Sent: 18 May 2013 01:11
To: zookeeper-user@hadoop.apache.org
Subject: Just One Zookeeper Can Not Work at Quorum at Any Time

I have 3 zookeeper ensemble as a quorum at aws. I use them for my SolrCloud
nodes.

I have a weird problem about my Zookeeper instances. *When I start 3 of them
only 2 of them is working.* When I stop one of working Zookeeper and start
the broken one it starts successfully. 

However when I start the one that I have just stopped, this time it gives
error and can not start. It says:

Opening socket connection ... will not attempt to authenticate using SASL
(unknown error) Socket connection established...

Unable to read additional data from server sessionid 0x0, likely server has
closed socket, closing socket connection and attempting reconnect

When I run ./zkCli.sh it says connecting and when I do something like 

ls / 

it throws Connection loss for / and throws Keeper Exception.

Any ideas?




--
View this message in context:
http://zookeeper-user.578899.n2.nabble.com/Just-One-Zookeeper-Can-Not-Work-a
t-Quorum-at-Any-Time-tp7578692.html
Sent from the zookeeper-user mailing list archive at Nabble.com.