HBASE-14021 Quota table has a wrong description on the UI (Ashish Singhi)

This commit is contained in:
tedyu 2015-08-04 18:21:34 -07:00
parent 03c6c532bf
commit c8aa58b306
1 changed files with 5 additions and 1 deletions

View File

@ -53,6 +53,7 @@ org.apache.hadoop.hbase.master.DeadServer;
org.apache.hadoop.hbase.protobuf.ProtobufUtil; org.apache.hadoop.hbase.protobuf.ProtobufUtil;
org.apache.hadoop.hbase.security.visibility.VisibilityConstants; org.apache.hadoop.hbase.security.visibility.VisibilityConstants;
org.apache.hadoop.hbase.security.access.AccessControlLists; org.apache.hadoop.hbase.security.access.AccessControlLists;
org.apache.hadoop.hbase.quotas.QuotaUtil;
</%import> </%import>
<%if format.equals("json") %> <%if format.equals("json") %>
@ -370,8 +371,11 @@ AssignmentManager assignmentManager = master.getAssignmentManager();
description = "The hbase:acl table holds information about acl"; description = "The hbase:acl table holds information about acl";
} else if (tableName.equals(VisibilityConstants.LABELS_TABLE_NAME)){ } else if (tableName.equals(VisibilityConstants.LABELS_TABLE_NAME)){
description = "The hbase:labels table holds information about visibility labels"; 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."; 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> </%java>
<td><% description %></td> <td><% description %></td>