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 <ago...@gmail.com> wrote:

>     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:09:17,468 - INFO  [main:quorumpeercon...@80] - Reading
> configuration from: conf/zoo.cfg
> 2010-06-26 18:09:17,483 - INFO  [main:quorumpeercon...@232] - Defaulting
> to
> majority quorums
> 2010-06-26 18:09:17,545 - INFO  [main:quorumpeerm...@118] - Starting
> quorum
> peer
> 2010-06-26 18:09:17,585 - INFO  [QuorumPeer:/0.0.0.0:2179:quorump...@514]
> -
> LOOKING
> 2010-06-26 18:09:17,589 - INFO  [QuorumPeer:/0.0.0.0:2179
> :leaderelect...@154]
> - Server address: master.cf.net/192.168.1.1:2180
>
> 2010-06-26 18:09:17,589 - INFO  [QuorumPeer:/0.0.0.0:2179
> :leaderelect...@154]
> - Server address: slave01.cf.net/192.168.1.2:2180
>
> 2010-06-26 18:09:17,792 - WARN  [QuorumPeer:/0.0.0.0:2179
> :leaderelect...@194]
> - Ignoring exception while looking for
> leader
>

Reply via email to