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 &>
|
<& 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>
|
||||||
|
|
Loading…
Reference in New Issue