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:
WenFeiYi 2020-07-29 20:13:59 +05:30 committed by Viraj Jasani
parent 20990b9c04
commit bba70f08ea
No known key found for this signature in database
GPG Key ID: B3D6C0B41C8ADFD5
1 changed files with 1 additions and 1 deletions

View File

@ -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>