HBASE-24752 NPE/500 accessing webui on master startup
Closes #2148 Signed-off-by: Ted Yu <yuzhihong@gmail.com> Signed-off-by: Viraj Jasani <vjasani@apache.org>
This commit is contained in:
parent
20990b9c04
commit
bba70f08ea
|
@ -224,7 +224,7 @@ AssignmentManager assignmentManager = master.getAssignmentManager();
|
||||||
<%if master.getAssignmentManager() != null %>
|
<%if master.getAssignmentManager() != null %>
|
||||||
<& AssignmentManagerStatusTmpl; assignmentManager=master.getAssignmentManager()&>
|
<& AssignmentManagerStatusTmpl; assignmentManager=master.getAssignmentManager()&>
|
||||||
</%if>
|
</%if>
|
||||||
<%if !master.isInMaintenanceMode() %>
|
<%if !master.isInMaintenanceMode() && master.getMasterCoprocessorHost() != null %>
|
||||||
<%if master.getMasterCoprocessorHost().findCoprocessor("RSGroupAdminEndpoint") != null &&
|
<%if master.getMasterCoprocessorHost().findCoprocessor("RSGroupAdminEndpoint") != null &&
|
||||||
serverManager.getOnlineServersList().size() > 0 %>
|
serverManager.getOnlineServersList().size() > 0 %>
|
||||||
<section>
|
<section>
|
||||||
|
|
Loading…
Reference in New Issue