HBASE-12011 Add namespace column during display of user tables (Srikanth Srungarapu)
This commit is contained in:
parent
3533820efb
commit
8a50a0cce7
|
@ -352,6 +352,7 @@ AssignmentManager assignmentManager = master.getAssignmentManager();
|
||||||
<%if (tables != null && tables.length > 0)%>
|
<%if (tables != null && tables.length > 0)%>
|
||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<tr>
|
<tr>
|
||||||
|
<th>Namespace</th>
|
||||||
<th>Table Name</th>
|
<th>Table Name</th>
|
||||||
<%if (frags != null) %>
|
<%if (frags != null) %>
|
||||||
<th title="Fragmentation - Will be 0% after a major compaction and fluctuate during normal usage.">Frag.</th>
|
<th title="Fragmentation - Will be 0% after a major compaction and fluctuate during normal usage.">Frag.</th>
|
||||||
|
@ -361,9 +362,10 @@ AssignmentManager assignmentManager = master.getAssignmentManager();
|
||||||
</tr>
|
</tr>
|
||||||
<%for HTableDescriptor htDesc : tables%>
|
<%for HTableDescriptor htDesc : tables%>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href=table.jsp?name=<% htDesc.getTableName().getNameAsString() %>><% htDesc.getTableName().getNameAsString() %></a> </td>
|
<td><% htDesc.getTableName().getNamespaceAsString() %></td>
|
||||||
|
<td><a href=table.jsp?name=<% htDesc.getTableName().getNameAsString() %>><% htDesc.getTableName().getQualifierAsString() %></a> </td>
|
||||||
<%if (frags != null) %>
|
<%if (frags != null) %>
|
||||||
<td align="center"><% frags.get(htDesc.getTableName().getNameAsString()) != null ? frags.get(htDesc.getTableName().getNameAsString()).intValue() + "%" : "n/a" %></td>
|
<td align="center"><% frags.get(htDesc.getTableName().getNameAsString()) != null ? frags.get(htDesc.getTableName().getQualifierAsString()).intValue() + "%" : "n/a" %></td>
|
||||||
</%if>
|
</%if>
|
||||||
<td><% master.getAssignmentManager().getRegionStates().getRegionsOfTable(htDesc
|
<td><% master.getAssignmentManager().getRegionStates().getRegionsOfTable(htDesc
|
||||||
.getTableName()).size() %>
|
.getTableName()).size() %>
|
||||||
|
|
Loading…
Reference in New Issue