hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-10231) Potential NPE in HBaseFsck#checkMetaRegion()
Date Mon, 23 Dec 2013 15:00:58 GMT
Ted Yu created HBASE-10231:

             Summary: Potential NPE in HBaseFsck#checkMetaRegion()
                 Key: HBASE-10231
                 URL: https://issues.apache.org/jira/browse/HBASE-10231
             Project: HBase
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor

metaHbckInfo is initialized to null and assigned when metaRegions is not empty.

However, it is dereferenced unconditionally later (line 2710):
          // try fix it (treat is a dupe assignment)
          HBaseFsckRepair.fixMultiAssignment(admin, metaHbckInfo.metaEntry, servers);

This message was sent by Atlassian JIRA

View raw message