HBASE-8041 WebUI doesn't display snapshots correctly

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1454443 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
mbertozzi 2013-03-08 16:09:25 +00:00
parent faaa3a6af8
commit d600c61ca3
1 changed files with 4 additions and 2 deletions

View File

@ -163,7 +163,7 @@ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription;
<& catalogTables &>
</%if>
</div>
<div class="tab-pane" id="userSnapshots">
<div class="tab-pane" id="tab_userSnapshots">
<& userSnapshots &>
</div>
</div>
@ -290,7 +290,6 @@ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription;
<%def userTables>
<%java>
HTableDescriptor[] tables = admin.listTables();
HConnectionManager.deleteConnection(admin.getConfiguration());
</%java>
<%if (tables != null && tables.length > 0)%>
<table class="table table-striped">
@ -368,4 +367,7 @@ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription;
</tr>
</table>
</%if>
<%java>
HConnectionManager.deleteConnection(admin.getConfiguration());
</%java>
</%def>