hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "huaxiang sun (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-19365) FSTableDescriptors#get() can return null reference, in some cases, it is not checked
Date Tue, 28 Nov 2017 19:49:00 GMT
huaxiang sun created HBASE-19365:
------------------------------------

             Summary: FSTableDescriptors#get() can return null reference, in some cases, it
is not checked
                 Key: HBASE-19365
                 URL: https://issues.apache.org/jira/browse/HBASE-19365
             Project: HBase
          Issue Type: Bug
    Affects Versions: 1.2.6
            Reporter: huaxiang sun
            Assignee: huaxiang sun
            Priority: Minor


In one of our cases, 1.2.0 based master could not start because the null reference is not
checked. Master crashed because of the following exception.

{code}
2017-11-20 08:30:20,178 FATAL org.apache.hadoop.hbase.master.HMaster: Failed to become active
master
java.lang.NullPointerException
at org.apache.hadoop.hbase.master.AssignmentManager.rebuildUserRegions(AssignmentManager.java:2993)
at org.apache.hadoop.hbase.master.AssignmentManager.joinCluster(AssignmentManager.java:494)
at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:821)
at org.apache.hadoop.hbase.master.HMaster.access$500(HMaster.java:192)
at org.apache.hadoop.hbase.master.HMaster$1.run(HMaster.java:1827)
at java.lang.Thread.run(Thread.java:745)
{code}




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message