From b3362ccb0c35a493a8a97fa5593650bb08b736f9 Mon Sep 17 00:00:00 2001 From: Joseph Hwang Date: Tue, 17 May 2016 15:52:26 -0700 Subject: [PATCH] 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 --- .../hbase/tmpl/regionserver/ServerMetricsTmpl.jamon | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/ServerMetricsTmpl.jamon b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/ServerMetricsTmpl.jamon index f5aa4784ce3..82cb4e7690a 100644 --- a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/ServerMetricsTmpl.jamon +++ b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/ServerMetricsTmpl.jamon @@ -193,14 +193,20 @@ MetricsHBaseServerWrapper mServerWrap; - - - + + + + + + + + +
Compaction Queue SizeFlush Queue SizeCall Queue Size (bytes)Compaction Queue LengthFlush Queue LengthPriority Call Queue LengthGeneral Call Queue LengthReplication Call Queue LengthTotal Call Queue Size (bytes)
<% mWrap.getCompactionQueueSize() %> <% mWrap.getFlushQueueSize() %><% mServerWrap.getPriorityQueueLength() %><% mServerWrap.getGeneralQueueLength() %><% mServerWrap.getReplicationQueueLength() %> <% TraditionalBinaryPrefix.long2String(mServerWrap.getTotalQueueSize(), "B", 1) %>