git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (HBASE-20670) NPE in HMaster#isInMaintenanceMode


Andrew Purtell created HBASE-20670:
--------------------------------------

             Summary: 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
             Fix For: 1.5.0, 1.3.3, 1.4.5


{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 then an access to the master status page trips 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)