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