You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by gx...@apache.org on 2019/10/29 03:43:20 UTC
[hbase] branch branch-2.2 updated: HBASE-23199 Error populating
Table-Attribute fields (#741)
This is an automated email from the ASF dual-hosted git repository.
gxcheng pushed a commit to branch branch-2.2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.2 by this push:
new d1b6c4f HBASE-23199 Error populating Table-Attribute fields (#741)
d1b6c4f is described below
commit d1b6c4fcf5626b725d4af06b1f638a544774adf8
Author: Karthik Palanisamy <kp...@hortonworks.com>
AuthorDate: Mon Oct 28 20:31:25 2019 -0700
HBASE-23199 Error populating Table-Attribute fields (#741)
Signed-off-by: GuangxuCheng <gu...@gmail.com>
---
hbase-server/src/main/resources/hbase-webapps/master/table.jsp | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp
index 568a6e6..5f808c8 100644
--- a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp
+++ b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp
@@ -356,8 +356,7 @@ if (fqtn != null && master.isInitialized()) {
</tr>
<%
}
-
- if (quota.hasThrottle()) {
+ if (quota != null && quota.hasThrottle()) {
List<ThrottleSettings> throttles = QuotaSettingsFactory.fromTableThrottles(table.getName(), quota.getThrottle());
if (throttles.size() > 0) {
%>
@@ -389,8 +388,8 @@ if (fqtn != null && master.isInitialized()) {
</tr>
<%
}
- }
- }
+ }
+ }
%>
</table>
<h2>Table Schema</h2>