[
https://issues.apache.org/jira/browse/HBASE-30286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang updated HBASE-30286:
------------------------------
Fix Version/s: 3.0.0
2.7.0
2.5.16
2.6.7
> HTTP ERROR 500 when opening master ui if active master is not yet available
> during startup
> ------------------------------------------------------------------------------------------
>
> Key: HBASE-30286
> URL: https://issues.apache.org/jira/browse/HBASE-30286
> Project: HBase
> Issue Type: Improvement
> Components: UI
> Reporter: guluo
> Assignee: guluo
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.0.0, 2.7.0, 2.5.16, 2.6.7
>
>
> When opening master ui during cluster startup,
> the backup master's status page (backupMasterStatus.jsp) may throw HTTP 500
> error because the active master's is not yet available.
> We would get the following messages.
> HTTP ERROR 500 java.lang.IllegalStateException: Failed to retrieve active
> master's ServerName!
> URI: /master.jsp
> STATUS: 500
> MESSAGE: java.lang.IllegalStateException: Failed to retrieve active
> master's ServerName!
> SERVLET: org.apache.hadoop.hbase.generated.master.master_jsp
> CAUSED BY: java.lang.IllegalStateException: Failed to retrieve active
> master's ServerName!
> Caused by:
> java.lang.IllegalStateException: Failed to retrieve active master's
> ServerName!
> at
> org.apache.hbase.thirdparty.com.google.common.base.Preconditions.checkState(Preconditions.java:513)
> at
> org.apache.hadoop.hbase.generated.master.backupMasterStatus_jsp._jspService(backupMasterStatus_jsp.java:130)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:64)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:590)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)