Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
Currently, when the publication feature is enabled (hbase.status.published=true), it uses the interface which is found first:
https://github.com/apache/hbase/blob/2e8bd0036dbdf3a99786e5531495d8d4cb51b86c/hbase-server/src/main/java/org/apache/hadoop/hbase/master/ClusterStatusPublisher.java#L268-L275
This won't work when the host has the multiple network interfaces and the unreachable one to the other nodes is selected. The interface which can be used for the communication between cluster nodes should be configurable.