HASE-1209 Make port displayed the same as is used in URL for RegionServer table in UI
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@748229 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f073189447
commit
636307ebc5
|
@ -24,6 +24,8 @@ Release 0.20.0 - Unreleased
|
|||
HBASE-1190 TableInputFormatBase with row filters scan too far (Dave
|
||||
Latham via Andrew Purtell)
|
||||
HBASE-1198 OOME in IPC server does not trigger abort behavior
|
||||
HBASE-1209 Make port displayed the same as is used in URL for RegionServer
|
||||
table in UI (Lars George via Stack)
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-1089 Add count of regions on filesystem to master UI; add percentage
|
||||
|
|
|
@ -87,10 +87,8 @@
|
|||
Arrays.sort(serverNames);
|
||||
for (String serverName: serverNames) {
|
||||
HServerInfo hsi = serverToServerInfos.get(serverName);
|
||||
String url = "http://" +
|
||||
hsi.getServerAddress().getHostname().toString() + ":" +
|
||||
hsi.getInfoPort() + "/";
|
||||
String hostname = hsi.getServerAddress().getHostname() + ":" + hsi.getServerAddress().getPort();
|
||||
String hostname = hsi.getServerAddress().getHostname() + ":" + hsi.getInfoPort();
|
||||
String url = "http://" + hostname + "/";
|
||||
totalRegions += hsi.getLoad().getNumberOfRegions();
|
||||
totalRequests += hsi.getLoad().getNumberOfRequests() / interval;
|
||||
long startCode = hsi.getStartCode();
|
||||
|
|
Loading…
Reference in New Issue