[
https://issues.apache.org/jira/browse/HBASE-30286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18097266#comment-18097266
]
Hudson commented on HBASE-30286:
--------------------------------
Results for branch branch-2
[build #1457 on
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1457/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(/) {color:green}+1 general checks{color}
-- For more information [see general
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1457/General_20Nightly_20Build_20Report/]
(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2)
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1457/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/]
(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3)
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1457/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1457/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 jdk17 hadoop3 checks{color}
-- For more information [see jdk17
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1457/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
> 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)