[ https://issues.apache.org/jira/browse/HBASE-20670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gavin updated HBASE-20670: -------------------------- Comment: was deleted (was: A comment with security level 'jira-users' was removed.) > NPE in HMaster#isInMaintenanceMode > ---------------------------------- > > Key: HBASE-20670 > URL: https://issues.apache.org/jira/browse/HBASE-20670 > Project: HBase > Issue Type: Bug > Affects Versions: 1.3.2 > Reporter: Andrew Purtell > Assignee: Andrew Purtell > Priority: Minor > Fix For: 3.0.0, 2.1.0, 1.5.0, 2.0.1, 1.4.5 > > Attachments: HBASE-20670-branch-1.patch, HBASE-20670.patch > > > {noformat} > Problem accessing /master-status. Reason: INTERNAL_SERVER_ERROR > Caused by: java.lang.NullPointerException > at > org.apache.hadoop.hbase.master.HMaster.isInMaintenanceMode(HMaster.java:2559) > {noformat} > The ZK trackers, including the maintenance mode tracker, are initialized only > after we try to bring up the filesystem. If HDFS is in safe mode and the > master is waiting on that, when an access to the master status page comes in > we trip over this problem. There might be other issues after we fix this, but > NPE Is always a bug, so let's address it. One option is to connect the ZK > based components with ZK before attempting to bring up the filesystem. Let me > try that first. If that doesn't work we could at least throw an IOE. -- This message was sent by Atlassian JIRA (v7.6.3#76005)