hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sagar naik <sn...@attributor.com>
Subject specifying electionAddress for Zookeeper
Date Thu, 08 Dec 2011 01:38:54 GMT
We are running two hbase instances.
Two zookeepers are running on same machine.

When I start the second one: I get port conflict.

Is there any way I can specify election port for zookeeper via hbase-site.xml


Thanks,
Sagar


2011-12-07 17:36:51,375 INFO
org.apache.zookeeper.server.quorum.QuorumCnxManager: My election bind
port: 3888
2011-12-07 17:36:51,375 ERROR
org.apache.zookeeper.server.quorum.QuorumCnxManager: Exception while
listening
java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
        at org.apache.zookeeper.server.quorum.QuorumCnxManager$Listener.run(QuorumCnxManager.java:475)

Mime
View raw message