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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to avoid HBase services to bind on multi hosts?

Platform: Big Data Platform |
Control: General

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.


You must log in to leave a comment

Please sign in to access our KB

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

Up arrow icon

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

Live Chat Icon For mobile