hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmhs...@apache.org
Subject [39/50] [abbrv] hbase git commit: HBASE-14975 Don't color the total RIT line yellow if it's zero (Pallavi Adusumilli)
Date Thu, 14 Jan 2016 17:08:53 GMT
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/52280b64
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/52280b64
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/52280b64

Branch: refs/heads/trunk
Commit: 52280b64e643584b9b73924a4216442def0501a4
Parents: 6e781a1
Author: Elliott Clark <eclark@apache.org>
Authored: Fri Jan 8 14:29:38 2016 -0800
Committer: Elliott Clark <eclark@apache.org>
Committed: Fri Jan 8 14:29:44 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/52280b64/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 30a95ce..2bf034a 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
@@ -91,7 +91,12 @@ if (toRemove > 0) {
             entry.getValue(), conf) %></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