HBASE-1564 in UI make host addresses all look the same -- not IP sometimes and host at others
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@787790 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fe66233cfa
commit
9730fcbdb7
|
@ -218,6 +218,8 @@ Release 0.20.0 - Unreleased
|
||||||
not reassigned
|
not reassigned
|
||||||
HBASE-1568 Client doesnt consult old row filter interface in
|
HBASE-1568 Client doesnt consult old row filter interface in
|
||||||
filterSaysStop() - could result in NPE or excessive scanning
|
filterSaysStop() - could result in NPE or excessive scanning
|
||||||
|
HBASE-1564 in UI make host addresses all look the same -- not IP sometimes
|
||||||
|
and host at others
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
HBASE-1089 Add count of regions on filesystem to master UI; add percentage
|
HBASE-1089 Add count of regions on filesystem to master UI; add percentage
|
||||||
|
|
|
@ -147,7 +147,7 @@ $(document).ready(function(){
|
||||||
Arrays.sort(serverNames);
|
Arrays.sort(serverNames);
|
||||||
for (String serverName: serverNames) {
|
for (String serverName: serverNames) {
|
||||||
HServerInfo hsi = serverToServerInfos.get(serverName);
|
HServerInfo hsi = serverToServerInfos.get(serverName);
|
||||||
String hostname = hsi.getServerAddress().getInetSocketAddress().getAddress().getHostAddress() + ":" + hsi.getInfoPort();
|
String hostname = hsi.getServerAddress().getHostname() + ":" + hsi.getInfoPort();
|
||||||
String url = "http://" + hostname + "/";
|
String url = "http://" + hostname + "/";
|
||||||
totalRegions += hsi.getLoad().getNumberOfRegions();
|
totalRegions += hsi.getLoad().getNumberOfRegions();
|
||||||
totalRequests += hsi.getLoad().getNumberOfRequests() / interval;
|
totalRequests += hsi.getLoad().getNumberOfRequests() / interval;
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
%>
|
%>
|
||||||
<tr>
|
<tr>
|
||||||
<td><%= Bytes.toString(meta.getRegionName()) %></td>
|
<td><%= Bytes.toString(meta.getRegionName()) %></td>
|
||||||
<td><a href="<%= url %>"><%= meta.getServer().toString() %></a></td>
|
<td><a href="<%= url %>"><%= meta.getServer().getHostname().toString() + ":" + infoPort %></a></td>
|
||||||
<td>-</td><td><%= Bytes.toString(meta.getStartKey()) %></td><td>-</td>
|
<td>-</td><td><%= Bytes.toString(meta.getStartKey()) %></td><td>-</td>
|
||||||
</tr>
|
</tr>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
@ -141,7 +141,7 @@
|
||||||
%>
|
%>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="<%= urlRegionHistorian %>"><%= Bytes.toStringBinary(hriEntry.getKey().getRegionName())%></a></td>
|
<td><a href="<%= urlRegionHistorian %>"><%= Bytes.toStringBinary(hriEntry.getKey().getRegionName())%></a></td>
|
||||||
<td><a href="<%= urlRegionServer %>"><%= hriEntry.getValue().toString() %></a></td>
|
<td><a href="<%= urlRegionServer %>"><%= hriEntry.getValue().getHostname().toString() + ":" + infoPort %></a></td>
|
||||||
<td><%= hriEntry.getKey().getEncodedName()%></td> <td><%= Bytes.toStringBinary(hriEntry.getKey().getStartKey())%></td>
|
<td><%= hriEntry.getKey().getEncodedName()%></td> <td><%= Bytes.toStringBinary(hriEntry.getKey().getStartKey())%></td>
|
||||||
<td><%= Bytes.toStringBinary(hriEntry.getKey().getEndKey())%></td>
|
<td><%= Bytes.toStringBinary(hriEntry.getKey().getEndKey())%></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue