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] Created: (HBASE-1209) Make port displayed the same as is used in URL for RegionServer table in UI
Date Sun, 22 Feb 2009 01:06:01 GMT
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
            Priority: Trivial


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