You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by vj...@apache.org on 2020/07/29 14:59:21 UTC
[hbase] branch branch-2.3 updated: HBASE-24752 NPE/500 accessing
webui on master startup
This is an automated email from the ASF dual-hosted git repository.
vjasani pushed a commit to branch branch-2.3
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.3 by this push:
new 2e4d69b HBASE-24752 NPE/500 accessing webui on master startup
2e4d69b is described below
commit 2e4d69b9eddb4130adfa0d60fb8267bbef47a829
Author: WenFeiYi <we...@gmail.com>
AuthorDate: Wed Jul 29 20:13:59 2020 +0530
HBASE-24752 NPE/500 accessing webui on master startup
Closes #2148
Signed-off-by: Ted Yu <yu...@gmail.com>
Signed-off-by: Viraj Jasani <vj...@apache.org>
---
.../jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 c6f7bcb..6d4decf 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
@@ -223,7 +223,7 @@ AssignmentManager assignmentManager = master.getAssignmentManager();
<%if master.getAssignmentManager() != null %>
<& AssignmentManagerStatusTmpl; assignmentManager=master.getAssignmentManager()&>
</%if>
- <%if !master.isInMaintenanceMode() %>
+ <%if !master.isInMaintenanceMode() && master.getMasterCoprocessorHost() != null %>
<%if master.getMasterCoprocessorHost().findCoprocessor("RSGroupAdminEndpoint") != null &&
serverManager.getOnlineServersList().size() > 0 %>
<section>