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:
parent
faaa3a6af8
commit
d600c61ca3
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue