[ 
https://issues.apache.org/jira/browse/HBASE-30286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HBASE-30286:
-----------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Priority: Minor
>              Labels: pull-request-available
>
> 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)

Reply via email to