diff --git a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon index 0e3258820c5..d75406ea7cf 100644 --- a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon +++ b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon @@ -352,6 +352,7 @@ AssignmentManager assignmentManager = master.getAssignmentManager(); <%if (tables != null && tables.length > 0)%> + <%if (frags != null) %> @@ -361,9 +362,10 @@ AssignmentManager assignmentManager = master.getAssignmentManager(); <%for HTableDescriptor htDesc : tables%> - + + <%if (frags != null) %> - +
Namespace Table NameFrag.
><% htDesc.getTableName().getNameAsString() %> <% htDesc.getTableName().getNamespaceAsString() %>><% htDesc.getTableName().getQualifierAsString() %> <% frags.get(htDesc.getTableName().getNameAsString()) != null ? frags.get(htDesc.getTableName().getNameAsString()).intValue() + "%" : "n/a" %><% frags.get(htDesc.getTableName().getNameAsString()) != null ? frags.get(htDesc.getTableName().getQualifierAsString()).intValue() + "%" : "n/a" %> <% master.getAssignmentManager().getRegionStates().getRegionsOfTable(htDesc .getTableName()).size() %>