hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars George (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-1209) Make port displayed the same as is used in URL for RegionServer table in UI
Date Sun, 22 Feb 2009 01:46:05 GMT

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

Lars George updated HBASE-1209:
-------------------------------

    Attachment: 1209.patch

Patch for port mismatch issue.

> Make port displayed the same as is used in URL for RegionServer table in UI
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-1209
>                 URL: https://issues.apache.org/jira/browse/HBASE-1209
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Lars George
>            Assignee: Lars George
>            Priority: Trivial
>         Attachments: 1209.patch
>
>
> In master JSP file make the ports being used the same for these two adjacent lines:
>   String url = "http://" +
>     hsi.getServerAddress().getHostname().toString() + ":" +
>     hsi.getInfoPort() + "/";
>   String hostname = hsi.getServerAddress().getHostname() + ":" + hsi.getServerAddress().getPort();
> The second line should be:
>   String hostname = hsi.getServerAddress().getHostname() + ":" + hsi.getInfoPort();
> Or possibly do this?
>   String hostname = hsi.getServerAddress().getHostname() + ":" + hsi.getInfoPort();
>   String url = "http://" + hostname + "/";

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message