diff --git a/CHANGES.txt b/CHANGES.txt index c439bb2be9a..a32e330988e 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -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 diff --git a/src/main/resources/hbase-webapps/regionserver/regionserver.jsp b/src/main/resources/hbase-webapps/regionserver/regionserver.jsp index e50188adc95..68d4e422bc0 100644 --- a/src/main/resources/hbase-webapps/regionserver/regionserver.jsp +++ b/src/main/resources/hbase-webapps/regionserver/regionserver.jsp @@ -18,7 +18,7 @@ e.printStackTrace(); } RegionServerMetrics metrics = regionServer.getMetrics(); - Collection onlineRegions = regionServer.getOnlineRegions(); + List onlineRegions = regionServer.getOnlineRegions(); int interval = regionServer.getConfiguration().getInt("hbase.regionserver.msginterval", 3000)/1000; %> @@ -49,7 +49,9 @@ <% if (onlineRegions != null && onlineRegions.size() > 0) { %> -<% for (HRegionInfo r: onlineRegions) { +<% + Collections.sort(onlineRegions); + for (HRegionInfo r: onlineRegions) { HServerLoad.RegionLoad load = regionServer.createRegionLoad(r.getEncodedName()); %>
Region NameStart KeyEnd KeyMetrics
<%= r.getRegionNameAsString() %>