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 652f1e664b
commit 5f27a009ab
No known key found for this signature in database
GPG Key ID: B3D6C0B41C8ADFD5
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ AssignmentManager assignmentManager = master.getAssignmentManager();
<%if master.getAssignmentManager() != null %>
<& AssignmentManagerStatusTmpl; assignmentManager=master.getAssignmentManager()&>
</%if>
<%if !master.isInMaintenanceMode() %>
<%if !master.isInMaintenanceMode() && master.getMasterCoprocessorHost() != null %>
<%if RSGroupUtil.isRSGroupEnabled(master.getConfiguration()) &&
serverManager.getOnlineServersList().size() > 0 %>
<section>