[ 
https://issues.apache.org/jira/browse/HBASE-23804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17032694#comment-17032694
 ] 

Nick Dimiduk commented on HBASE-23804:
--------------------------------------

[~clayb] do you have a moment to weigh in on the change included in this PR? 
I'm curious how we can automate testing this part of the code as it relates to 
HBASE-12954. Thanks.

> Fix default master addr hostname in master registry
> ---------------------------------------------------
>
>                 Key: HBASE-23804
>                 URL: https://issues.apache.org/jira/browse/HBASE-23804
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 3.0.0, 2.3.0, 1.6.0, HBASE-18095
>            Reporter: Bharath Vissapragada
>            Assignee: Bharath Vissapragada
>            Priority: Major
>             Fix For: 3.0.0, 2.3.0
>
>
> Currently, master RPC server (*not* info server) always binds to the address 
> endpoint to which the default hostname of the server resolves to. However, 
> master registry picks the default end point to connect to as 
> "localhost:16000" when "hbase.masters" are not configured. This is leading to 
> a mismatch because the server may not be listening on the loopback address. 
> This is a problem only in the scripts (single proc/pseudo distributed modes) 
> because these are the cases in which "hbase.masters" is not populated by 
> default.
> The fix is to pick the service endpoint the same way the RPC server does it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to