hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shrijeet Paliwal <shrij...@rocketfuel.com>
Subject Re: specifying electionAddress for Zookeeper
Date Thu, 08 Dec 2011 01:52:36 GMT
My bad, you meant election port not client.

On Wed, Dec 7, 2011 at 5:42 PM, Shrijeet Paliwal <shrijeet@rocketfuel.com>wrote:

> You mean this property : hbase.zookeeper.property.clientPort ?
>
>
> On Wed, Dec 7, 2011 at 5:38 PM, sagar naik <snaik@attributor.com> wrote:
>
>> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message