HBASE-15471 Added in Priority, General, and Replication queue sizes for RegionServers to the Web UI

Changed UI labels so that queue "size" refers to size in bytes and queue "length" refers to number of items in queue.

Signed-off-by: Elliott Clark <elliott@fb.com>
This commit is contained in:
Joseph Hwang 2016-05-17 15:52:26 -07:00 committed by Elliott Clark
parent fa74baeb40
commit b3362ccb0c
1 changed files with 9 additions and 3 deletions

View File

@ -193,14 +193,20 @@ MetricsHBaseServerWrapper mServerWrap;
</%args>
<table class="table table-striped">
<tr>
<th>Compaction Queue Size</th>
<th>Flush Queue Size</th>
<th>Call Queue Size (bytes)</th>
<th>Compaction Queue Length</th>
<th>Flush Queue Length</th>
<th>Priority Call Queue Length</th>
<th>General Call Queue Length</th>
<th>Replication Call Queue Length</th>
<th>Total Call Queue Size (bytes)</th>
</tr>
<tr>
<td><% mWrap.getCompactionQueueSize() %></td>
<td><% mWrap.getFlushQueueSize() %></td>
<td><% mServerWrap.getPriorityQueueLength() %></td>
<td><% mServerWrap.getGeneralQueueLength() %></td>
<td><% mServerWrap.getReplicationQueueLength() %></td>
<td><% TraditionalBinaryPrefix.long2String(mServerWrap.getTotalQueueSize(), "B", 1) %></td>
</tr>
</table>