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

Signed-off-by: Elliott Clark <eclark@apache.org>
This commit is contained in:
Elliott Clark 2016-01-08 14:29:38 -08:00
parent 6e781a1f34
commit 52280b64e6
1 changed files with 6 additions and 1 deletions

View File

@ -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>