From d600c61ca3facab2216cb2127e584f1d390fe4e4 Mon Sep 17 00:00:00 2001 From: mbertozzi Date: Fri, 8 Mar 2013 16:09:25 +0000 Subject: [PATCH] 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 --- .../apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon index cb5c708e5db..4b9f4d32d66 100644 --- a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon +++ b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon @@ -163,7 +163,7 @@ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription; <& catalogTables &> -
+
<& userSnapshots &>
@@ -290,7 +290,6 @@ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription; <%def userTables> <%java> HTableDescriptor[] tables = admin.listTables(); - HConnectionManager.deleteConnection(admin.getConfiguration()); <%if (tables != null && tables.length > 0)%> @@ -368,4 +367,7 @@ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription;
+<%java> + HConnectionManager.deleteConnection(admin.getConfiguration()); +