Repository: hbase Updated Branches: refs/heads/branch-1 03c6c532b -> c8aa58b30
HBASE-14021 Quota table has a wrong description on the UI (Ashish Singhi) Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/c8aa58b3 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/c8aa58b3 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/c8aa58b3 Branch: refs/heads/branch-1 Commit: c8aa58b3069f068c8d574f5ba5ec3f1bc4fa0696 Parents: 03c6c53 Author: tedyu <[email protected]> Authored: Tue Aug 4 18:21:34 2015 -0700 Committer: tedyu <[email protected]> Committed: Tue Aug 4 18:21:34 2015 -0700 ---------------------------------------------------------------------- .../org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/c8aa58b3/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon ---------------------------------------------------------------------- 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 6e40c73..caa3535 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 @@ -53,6 +53,7 @@ org.apache.hadoop.hbase.master.DeadServer; org.apache.hadoop.hbase.protobuf.ProtobufUtil; org.apache.hadoop.hbase.security.visibility.VisibilityConstants; org.apache.hadoop.hbase.security.access.AccessControlLists; +org.apache.hadoop.hbase.quotas.QuotaUtil; </%import> <%if format.equals("json") %> @@ -370,8 +371,11 @@ AssignmentManager assignmentManager = master.getAssignmentManager(); description = "The hbase:acl table holds information about acl"; } else if (tableName.equals(VisibilityConstants.LABELS_TABLE_NAME)){ description = "The hbase:labels table holds information about visibility labels"; - } else { + } else if (tableName.equals(TableName.NAMESPACE_TABLE_NAME)){ description = "The hbase:namespace table holds information about namespaces."; + } else if (tableName.equals(QuotaUtil.QUOTA_TABLE_NAME)){ + description = "The hbase:quota table holds quota information about number" + + " or size of requests in a given time frame."; } </%java> <td><% description %></td>
