hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject hbase git commit: HBASE-14975 Don't color the total RIT line yellow if it's zero (Pallavi Adusumilli)
Date Wed, 10 Feb 2016 09:24:56 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 e6bb5f4f6 -> 223b508ac


HBASE-14975 Don't color the total RIT line yellow if it's zero (Pallavi Adusumilli)

Signed-off-by: Elliott Clark <eclark@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/223b508a
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/223b508a
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/223b508a

Branch: refs/heads/0.98
Commit: 223b508ac610cbb69634ab86752950e2d17ff59e
Parents: e6bb5f4
Author: Elliott Clark <eclark@apache.org>
Authored: Fri Jan 8 14:29:38 2016 -0800
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Wed Feb 10 01:24:48 2016 -0800

----------------------------------------------------------------------
 .../hbase/tmpl/master/AssignmentManagerStatusTmpl.jamon       | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/223b508a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/AssignmentManagerStatusTmpl.jamon
----------------------------------------------------------------------
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 a5e4b1a..2d27e3e 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) {
             <td><% entry.getKey() %></td><td><% entry.getValue().toDescriptiveString()
%></td>
     <td><% (currentTime - entry.getValue().getStamp()) %> </td></tr>
             </%for>
-            <tr BGCOLOR="#D7DF01"> <td>Total number of Regions in Transition
for more than <% ritThreshold %> milliseconds</td><td> <% numOfRITOverThreshold
%></td><td></td>
+            <%if numOfRITOverThreshold > 0 %>
+                    <tr BGCOLOR="#D7DF01" >
+            <%else>
+                    <tr>
+            </%if>
+            <td>Total number of Regions in Transition for more than <% ritThreshold
%> milliseconds</td><td> <% numOfRITOverThreshold %></td><td></td>
             </tr>
     <tr> <td> Total number of Regions in Transition</td><td><%
totalRITs %> </td><td></td>
     </table>


Mime
View raw message