hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1443766 - /hbase/trunk/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon
Date Thu, 07 Feb 2013 23:00:43 GMT
Author: tedyu
Date: Thu Feb  7 23:00:43 2013
New Revision: 1443766

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


Modified:
    hbase/trunk/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon

Modified: hbase/trunk/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon?rev=1443766&r1=1443765&r2=1443766&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon
(original)
+++ hbase/trunk/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon
Thu Feb  7 23:00:43 2013
@@ -292,6 +292,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%>
@@ -300,6 +301,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().getRegionStates().getRegionsOfTable(htDesc.getName()).size()
%>
         <td><% htDesc.toStringCustomizedValues() %></td>
     </tr>
     </%for>



Mime
View raw message