You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2013/02/08 00:02:13 UTC

svn commit: r1443768 - /hbase/branches/0.94/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon

Author: tedyu
Date: Thu Feb  7 23:02:13 2013
New Revision: 1443768

URL: http://svn.apache.org/r1443768
Log:
HBASE-7561 Display the total number of regions for a given table on the master webUI (Michael Weng)


Modified:
    hbase/branches/0.94/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon

Modified: hbase/branches/0.94/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon?rev=1443768&r1=1443767&r2=1443768&view=diff
==============================================================================
--- hbase/branches/0.94/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon (original)
+++ hbase/branches/0.94/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon Thu Feb  7 23:02:13 2013
@@ -178,6 +178,7 @@ org.apache.hadoop.hbase.HBaseConfigurati
 <%if (frags != null) %>
         <th title="Fragmentation - Will be 0% after a major compaction and fluctuate during normal usage.">Frag.</th>
 </%if>
+    <th>Online Regions</th>
     <th>Description</th>
 </tr>
 <%for HTableDescriptor htDesc : tables%>
@@ -186,6 +187,7 @@ org.apache.hadoop.hbase.HBaseConfigurati
     <%if (frags != null) %>
         <td align="center"><% frags.get(htDesc.getNameAsString()) != null ? frags.get(htDesc.getNameAsString()).intValue() + "%" : "n/a" %></td>
     </%if>
+    <td><% master.getAssignmentManager().getRegionsOfTable(htDesc.getName()).size() %>
     <td><% htDesc.toStringCustomizedValues() %></td>
 </tr>
 </%for>