You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/05/31 18:52:00 UTC

[jira] [Resolved] (HBASE-27068) NPE occurs when the active master has not yet been elected

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

Andrew Kyle Purtell resolved HBASE-27068.
-----------------------------------------
    Fix Version/s: 2.5.0
                   3.0.0-alpha-3
     Hadoop Flags: Reviewed
       Resolution: Fixed

> NPE occurs 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
>            Priority: Major
>             Fix For: 2.5.0, 3.0.0-alpha-3
>
>         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)