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 4a6414a7944..31c6ebfaa90 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 @@ -60,6 +60,7 @@ org.apache.hadoop.hbase.tool.CanaryTool; org.apache.hadoop.hbase.util.Bytes; org.apache.hadoop.hbase.util.CommonFSUtils; org.apache.hadoop.hbase.util.JvmVersion; +org.apache.hadoop.hbase.util.PrettyPrinter; org.apache.hadoop.util.StringUtils; %import> @@ -663,6 +664,8 @@ AssignmentManager assignmentManager = master.getAssignmentManager();
<% snapshots.size() %> snapshot(s) in set. [Snapshot Storefile stats]
diff --git a/hbase-server/src/main/resources/hbase-webapps/master/snapshotsStats.jsp b/hbase-server/src/main/resources/hbase-webapps/master/snapshotsStats.jsp index d270eb87ed4..becdc68442d 100644 --- a/hbase-server/src/main/resources/hbase-webapps/master/snapshotsStats.jsp +++ b/hbase-server/src/main/resources/hbase-webapps/master/snapshotsStats.jsp @@ -30,6 +30,7 @@ import="org.apache.hadoop.util.StringUtils" import="org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription" %> +<%@ page import="org.apache.hadoop.hbase.util.PrettyPrinter" %> <% HMaster master = (HMaster)getServletContext().getAttribute(HMaster.MASTER); Configuration conf = master.getConfiguration(); @@ -65,7 +66,8 @@