HBASE-3222 Regionserver region listing in UI is no longer ordered
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1033787 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6881c2fac0
commit
6b5511e991
|
@ -675,6 +675,7 @@ Release 0.90.0 - Unreleased
|
|||
failing (Gary via jgray)
|
||||
HBASE-3216 Move HBaseFsck from client to util
|
||||
HBASE-3219 Split parents are reassigned on restart and on disable/enable
|
||||
HBASE-3222 Regionserver region listing in UI is no longer ordered
|
||||
|
||||
|
||||
IMPROVEMENTS
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
e.printStackTrace();
|
||||
}
|
||||
RegionServerMetrics metrics = regionServer.getMetrics();
|
||||
Collection<HRegionInfo> onlineRegions = regionServer.getOnlineRegions();
|
||||
List<HRegionInfo> onlineRegions = regionServer.getOnlineRegions();
|
||||
int interval = regionServer.getConfiguration().getInt("hbase.regionserver.msginterval", 3000)/1000;
|
||||
|
||||
%><?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
@ -49,7 +49,9 @@
|
|||
<% if (onlineRegions != null && onlineRegions.size() > 0) { %>
|
||||
<table>
|
||||
<tr><th>Region Name</th><th>Start Key</th><th>End Key</th><th>Metrics</th></tr>
|
||||
<% for (HRegionInfo r: onlineRegions) {
|
||||
<%
|
||||
Collections.sort(onlineRegions);
|
||||
for (HRegionInfo r: onlineRegions) {
|
||||
HServerLoad.RegionLoad load = regionServer.createRegionLoad(r.getEncodedName());
|
||||
%>
|
||||
<tr><td><%= r.getRegionNameAsString() %></td>
|
||||
|
|
Loading…
Reference in New Issue