Re: Receive timed out error while starting zookeeper server

2010-06-27 Thread Ted Dunning
Are you sure that you understand that there really isn't a good concept of a master and slave in zookeeper (at least not by default)? Are you actually starting servers on all of your machines in your cluster? On Sat, Jun 26, 2010 at 6:53 AM, Peeyush Kumar wrote: > I have a 6 node cluster (5

Re: Receive timed out error while starting zookeeper server

2010-06-27 Thread Patrick Hunt
On 06/26/2010 06:53 AM, Peeyush Kumar wrote: I have a 6 node cluster (5 slaves and 1 master). I am trying to You typically want an odd number given that zk works by majority (even is fine, but not optimal). So 5 would be great (7 is a bit of overkill). 3 is fine too, but 5 allows fo

Receive timed out error while starting zookeeper server

2010-06-27 Thread Peeyush Kumar
Hi, I have a 6 node cluster (5 slaves and 1 master). I am trying to start the zookeper server on the cluster. when I issue this command: $ java -cp zookeeper.jar:lib/log4j-1.2.15.jar:conf \ org.apache.zookeeper.server.quorum.QuorumPeerMain zoo.cfg I get the following error: 2010-06-26 18:0

Re: Receive timed out error while starting zookeeper server

2010-06-27 Thread Lei Zhang
Can you show your zoo.cfg? How many zookeeper servers do you intend to have in the quorum? Did you start zookeeper daemon on each of the server?