HBASE-23262 Cannot load Master UI (#799)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
Karthik Palanisamy 2019-11-07 17:49:35 -08:00 committed by binlijin
parent 02f264321b
commit c348e642d9
1 changed files with 2 additions and 1 deletions

View File

@ -224,7 +224,8 @@ AssignmentManager assignmentManager = master.getAssignmentManager();
<& AssignmentManagerStatusTmpl; assignmentManager=master.getAssignmentManager()&>
</%if>
<%if !master.isInMaintenanceMode() %>
<%if master.getMasterCoprocessorHost().findCoprocessor("RSGroupAdminEndpoint") != null %>
<%if master.getMasterCoprocessorHost().findCoprocessor("RSGroupAdminEndpoint") != null &&
serverManager.getOnlineServersList().size() > 0 %>
<section>
<h2><a name="rsgroup">RSGroup</a></h2>
<& RSGroupListTmpl; master= master; serverManager= serverManager&>