From 27c578d685927e814ae50d6457fb01fabdffc28f Mon Sep 17 00:00:00 2001 From: Elliott Clark Date: Fri, 8 Jan 2016 14:29:38 -0800 Subject: [PATCH] HBASE-14975 Don't color the total RIT line yellow if it's zero (Pallavi Adusumilli) Signed-off-by: Elliott Clark --- .../hbase/tmpl/master/AssignmentManagerStatusTmpl.jamon | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/AssignmentManagerStatusTmpl.jamon b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/AssignmentManagerStatusTmpl.jamon index a5e4b1a3e85..2d27e3eddc2 100644 --- a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/AssignmentManagerStatusTmpl.jamon +++ b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/AssignmentManagerStatusTmpl.jamon @@ -89,7 +89,12 @@ if (toRemove > 0) { <% entry.getKey() %><% entry.getValue().toDescriptiveString() %> <% (currentTime - entry.getValue().getStamp()) %> - Total number of Regions in Transition for more than <% ritThreshold %> milliseconds <% numOfRITOverThreshold %> + <%if numOfRITOverThreshold > 0 %> + + <%else> + + + Total number of Regions in Transition for more than <% ritThreshold %> milliseconds <% numOfRITOverThreshold %> Total number of Regions in Transition<% totalRITs %>