hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Praveen Bathala <pbatha...@gmail.com>
Subject Re: Zookeeper fails with Bind exception
Date Sat, 11 Jun 2011 14:10:46 GMT
Configuring a different port worked, but why would that happen when nothing is really happening
on the machine is what I am trying to figure out

- Prvn

On Jun 11, 2011, at 12:53 AM, Stack wrote:

> Somthing is already using the port.  Find out what it is.  Use netstat
> --listening|grep PORT_NUMBER or some such facility.  Or just edit they
> zk configs. to use another port.
> 
> St.Ack
> 
> On Fri, Jun 10, 2011 at 8:55 PM, Praveen Bathala <pbathalac@gmail.com> wrote:
>> Hi,
>> 
>> I have some problem with bringing up my hbase.
>> Zookeeper complains about java Bind exception, but I dont see any other zookeeper
instance or process running
>> 
>> stack trace :
>> 
>> localhost: starting zookeeper, logging to /home/xxxxx/hbase/hbase-0.90.3/bin/../logs/hbase-xxxxx-zookeeper-xxxxx-server.out
>> localhost: java.net.BindException: Address already in use
>> localhost:      at sun.nio.ch.Net.bind(Native Method)
>> localhost:      at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126)
>> localhost:      at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
>> localhost:      at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
>> localhost:      at org.apache.zookeeper.server.NIOServerCnxn$Factory.<init>(NIOServerCnxn.java:144)
>> localhost:      at org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:108)
>> localhost:      at org.apache.hadoop.hbase.zookeeper.HQuorumPeer.runZKServer(HQuorumPeer.java:78)
>> localhost:      at org.apache.hadoop.hbase.zookeeper.HQuorumPeer.main(HQuorumPeer.java:63)
>> 
>> and before this thing happened, my server crashed for some reason, I am not sure
why. by the time I was looking at it, it was just booting up and after that I wasn't able
to start hbase, no exceptions in zookeeper log too
>> 
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server
environment:java.io.tmpdir=/tmp
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server
environment:java.compiler=<NA>
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server
environment:os.name=Linux
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server
environment:os.arch=amd64
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server
environment:os.version=2.6.38-8-generic
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server
environment:user.name=xxxxx
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server
environment:user.home=/home/xxxxxx
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server
environment:user.dir=/home/xxxx/hbase/hbase-0.90.3
>> 2011-06-10 23:48:44,181 INFO org.apache.zookeeper.server.ZooKeeperServer: tickTime
set to 3000
>> 2011-06-10 23:48:44,181 INFO org.apache.zookeeper.server.ZooKeeperServer: minSessionTimeout
set to -1
>> 2011-06-10 23:48:44,181 INFO org.apache.zookeeper.server.ZooKeeperServer: maxSessionTimeout
set to 180000
>> 2011-06-10 23:48:44,201 INFO org.apache.zookeeper.server.NIOServerCnxn: binding to
port 0.0.0.0/0.0.0.0:2181
>> 
>> 
>> 
>> any help ?
>> 
>> 
>> Thanks
>> - Prvn
>> 
>> 


Mime
View raw message