zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pedro Costa <psdc1...@gmail.com>
Subject serverid null is not a number
Date Sat, 07 Jul 2012 14:40:42 GMT
Hi,

I've 3 machines:

helios-54.sophia.grid5000.fr
genepi-15.grenoble.grid5000.fr
chinqchint-25.lille.grid5000.fr

where I installed Zookeeper.

In one machine , in the zoo.conf I set the following servers:

server.1=helios-54.sophia.grid5000.fr:2888:3888
server.2=genepi-15.grenoble.grid5000.fr:2888:3888
server.3=chinqchint-25.lille.grid5000.fr:2888:3888

When I start zookeeper, I get the error:

org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error
processing /opt/zookeeper/bin/../conf/zoo.cfg
        at
org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:121)
        at
org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:101)
        at
org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78)
Caused by: java.lang.IllegalArgumentException: serverid null is not a number
        at
org.apache.zookeeper.server.quorum.QuorumPeerConfig.parseProperties(QuorumPeerConfig.java:358)
        at
org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:117)
        ... 2 more
Invalid config, exiting abnormally



Why I get this error?


-- 
Best regards,

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message