[ 
https://issues.apache.org/jira/browse/HBASE-19192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stack reassigned HBASE-19192:
-----------------------------

    Assignee: Janos Gub

Assigning Janos. He did the work to figure can be closed.

> HMaster#getRegionServerInfoPort() should respect config value of -1
> -------------------------------------------------------------------
>
>                 Key: HBASE-19192
>                 URL: https://issues.apache.org/jira/browse/HBASE-19192
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Janos Gub
>            Priority: Minor
>
> {code}
>   public int getRegionServerInfoPort(final ServerName sn) {
>     RegionServerInfo info = this.regionServerTracker.getRegionServerInfo(sn);
>     if (info == null || info.getInfoPort() == 0) {
>       return conf.getInt(HConstants.REGIONSERVER_INFO_PORT,
>         HConstants.DEFAULT_REGIONSERVER_INFOPORT);
>     }
>     return info.getInfoPort();
> {code}
> hbase.regionserver.info.port config is only checked when regionServerTracker 
> doesn't have info port.
> When hbase.regionserver.info.port is set to -1 by user, we should respect the 
> config value and disable UI.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to