Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to start hbase with the following command:

hadoop@user-HP-dx2480-MT-NA125PA:/usr/local/hadoop/hbase$ bin/

and the startup fails with the following errror:

error are localhost: starting zookeeper, logging to /usr/local/hadoop/hbase/bin/../logs/hbase-hadoop-zookeeper-user-HP-dx2480-MT-NA125PA.out localhost: Address already in use localhost: at Method) localhost: at localhost: at localhost: at localhost: at org.apache.zookeeper.server.NIOServerCnxn$Factory.( localhost: at org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig( localhost: at org.apache.hadoop.hbase.zookeeper.HQuorumPeer.runZKServer( localhost: at org.apache.hadoop.hbase.zookeeper.HQuorumPeer.main(

What is the solution for this? Can anyone tel me? What is AddressBindingException??

share|improve this question
up vote 0 down vote accepted

It looks like your zookeeper process is already running. Or (much less likely), something else is already listening on port 2181 or 2888. Did you install a separate zookeeper package and start it?

If so, you'll need to tell HBase not to start zookeeper automatically. Edit the conf/ file and add the line:

export HBASE_MANAGES_ZK=false

On the other hand, if you want HBase to start zookeeper automatically, then change that setting to "true", make sure any current zookeeper process is stopped and try again.

FYI, if you run into more problems, subscribe to the HBase user mailing list at and we can help you further there.

share|improve this answer
yes it worked ya.. Thanks – priyaudupi Apr 28 '11 at 6:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.