Hbase org.apache.hadoop.hbase.PleaseHoldException Hbase org.apache.hadoop.hbase.PleaseHoldException hadoop hadoop

Hbase org.apache.hadoop.hbase.PleaseHoldException


You have to edit your /etc/hosts file because HBase probably can't connect to localhost using 127.0.0.1

You should replace the line :

127.0.0.1       jmx_host

with

127.0.0.1   manuzhang-U24E

Restart HBase after that to and hopefully that fixes it.


The HBase and /etc/hosts relationship is actually a very popular mystery. Although changing the line 127.0.1.1 or 127.0.0.1 might work, the process is actually quite involved.

When HBase is setting an RPC server, it’ll listen on the IP of the interfacedefined in "hbase.regionserver.dns.interface". (Well, not quite, actually, HBase willfind the IPs of this interface, will look up for its hostname, and the first hostname ofthe first IP associated to this network interface will be used).

What if you didn’t provide anything? It’ll get you back your hostname, assuming that yourhost name is associated to the most reasonable interface.

Reference(Beautiful post. I would strongly suggest to read it once).


Please change the address 127.0.1.1 to 127.0.0.1 in the line

127.0.1.1  manuzhang-U24E

restart hbase and it should work. This happens since hbase is not able to find the master host.