We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to avoid HBase services to bind on multi hosts?

When HBase clusters running on unusual networks as such as NAT cloud environments or physical machines with multiple IP's per network interface, it would be best practice to specify,


1. Which IP interface to which HBase master or region-server will bind and

2. What hostname HBase will advertise in Zookeeper both for a master or region-server process


In multihomed hosts you may face following error,


2016-06-29 20:09:36,006 ERROR [regionserver/host1.syncfusion.lan/172.x.x.x:60020] regionserver.HRegionServer: Master passed us a different hostname to use; was=host1.syncfusion.lan, but now=HOST1


In order to overcome this behavior, we need to force the HMaster to receive the hostname of the Region server by setting below property in hbase-site.xml.





    <description>This config is for experts: don't set its value unless you really know what you are doing.

    When set to a non-empty value, this represents the (external facing) hostname for the underlying server.

    See https://issues.apache.org/jira/browse/HBASE-12954 for details. </description>




The hostname can be either fully qualified domain name(FQDN) or host name.


The above configuration can be done in cluster manager UI as follows.


Step 1: Go to configuration from Administration menu and select HBase.



Step 2: Select each region servers one by one and add the property in hbase-site.xml



Step 3: Save the changes and restart the HBase services.


Article ID: Published Date: Last Revised Date: Platform: Control:
7099 09/08/2016 09/08/2016 Big Data Platform General
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Please sign in to access our KB

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon