stack resolved HBASE-1209.
--------------------------
Resolution: Fixed
Fix Version/s: 0.20.0
Committed. Thanks for the patch Lars.
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
Fix For: 0.20.0
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 + "/";
-----------------------------------------------------------------------------
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
Fix For: 0.20.0
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.