Tao Li created HBASE-27068:
------------------------------
Summary: NPE occurs on Web when the active master has not yet been
elected
Key: HBASE-27068
URL: https://issues.apache.org/jira/browse/HBASE-27068
Project: HBase
Issue Type: Bug
Reporter: Tao Li
Assignee: Tao Li
Attachments: image-2022-05-29-10-08-21-637.png,
image-2022-05-29-10-08-49-672.png
When the active master has not yet been elected. We access the master web UI, a
NPE will be thrown out. Assertion is now added, but assertion in production is
disabled by default. We can use `Preconditions` instead.
Before the change:
!image-2022-05-29-10-08-21-637.png|width=268,height=256!
After the change:
!image-2022-05-29-10-08-49-672.png|width=263,height=255!
--
This message was sent by Atlassian Jira
(v8.20.7#820007)