hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fredrik Möllerstrand <fred...@mollerstrand.se>
Subject HMaster and /etc/hosts
Date Mon, 15 Jun 2009 17:00:07 GMT
Hello list!

I've spent the better part of the afternoon upgrading from 0.19.3 to
trunk, and I did fall into a hole or two. Specifically, it turns out
that we rely on DNS lookups to find out what address HMaster binds to,
which caused me some grief. The documentation is also weak on what
part Zookeeper plays in the process; a stronger write-up of how HBase
utilizes Zookeeper would be a great help in troubleshooting issues
like this.

Basically, I saw the region servers trying to connect to without any hint as to why, neither in the (default)
configuration nor the logs.

HMaster happily reported this:
INFO org.apache.hadoop.hbase.master.HMaster: My address is
quickly followed by:
INFO org.apache.hadoop.hbase.master.HMaster: HMaster initialized on

The cause was simple and my face-palm genuine as the realization
struck me: there was a record for master2 in the hosts file, and it
was pointing to

I suggest that an hbase.master.address option (that overrides any
resolved address) would make it easier to get the installation up and


View raw message