hbase-issues 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-10630) NullPointerException in ConnectionManager$HConnectionImplementation.locateRegionInMeta() due to missing region info
Date Thu, 27 Feb 2014 17:35:19 GMT
Ted Yu created HBASE-10630:
------------------------------

             Summary: NullPointerException in ConnectionManager$HConnectionImplementation.locateRegionInMeta()
due to missing region info
                 Key: HBASE-10630
                 URL: https://issues.apache.org/jira/browse/HBASE-10630
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.98.0
            Reporter: Ted Yu
            Assignee: Ted Yu


During Load And Verify With Chaos Monkey test, we observed:
{code}
2014-02-26 16:28:17,964|beaver.machine|INFO|2014-02-26 16:28:17,964 INFO  [main] mapreduce.Job:
 map 71% reduce 0%
2014-02-26 16:28:20,073|beaver.machine|INFO|2014-02-26 16:28:20,073 INFO  [main] mapreduce.Job:
 map 82% reduce 0%
2014-02-26 16:28:20,077|beaver.machine|INFO|2014-02-26 16:28:20,077 INFO  [main] mapreduce.Job:
Task Id : attempt_1393409213482_0015_m_000068_0, Status : FAILED
2014-02-26 16:28:20,099|beaver.machine|INFO|Error: java.lang.NullPointerException
2014-02-26 16:28:20,100|beaver.machine|INFO|at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegionInMeta(ConnectionManager.java:1175)
2014-02-26 16:28:20,100|beaver.machine|INFO|at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(ConnectionManager.java:1038)
2014-02-26 16:28:20,100|beaver.machine|INFO|at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegionAll(ConnectionManager.java:986)
2014-02-26 16:28:20,101|beaver.machine|INFO|at org.apache.hadoop.hbase.client.AsyncProcess.findDestLocation(AsyncProcess.java:418)
2014-02-26 16:28:20,101|beaver.machine|INFO|at org.apache.hadoop.hbase.client.AsyncProcess.submit(AsyncProcess.java:343)
2014-02-26 16:28:20,101|beaver.machine|INFO|at org.apache.hadoop.hbase.client.AsyncProcess.submit(AsyncProcess.java:296)
2014-02-26 16:28:20,102|beaver.machine|INFO|at org.apache.hadoop.hbase.client.HTable.backgroundFlushCommits(HTable.java:1024)
2014-02-26 16:28:20,102|beaver.machine|INFO|at org.apache.hadoop.hbase.client.HTable.flushCommits(HTable.java:1298)
2014-02-26 16:28:20,102|beaver.machine|INFO|at org.apache.hadoop.hbase.test.IntegrationTestLoadAndVerify$LoadMapper.cleanup(IntegrationTestLoadAndVerify.java:188)
2014-02-26 16:28:20,102|beaver.machine|INFO|at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:148)
2014-02-26 16:28:20,103|beaver.machine|INFO|at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764)
2014-02-26 16:28:20,103|beaver.machine|INFO|at org.apache.hadoop.mapred.MapTask.run(MapTask.java:340)
2014-02-26 16:28:20,103|beaver.machine|INFO|at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)
2014-02-26 16:28:20,103|beaver.machine|INFO|at java.security.AccessController.doPrivileged(Native
Method)
2014-02-26 16:28:20,104|beaver.machine|INFO|at javax.security.auth.Subject.doAs(Subject.java:396)
2014-02-26 16:28:20,104|beaver.machine|INFO|at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1548)
2014-02-26 16:28:20,104|beaver.machine|INFO|at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:163)
2014-02-26 16:28:20,105|beaver.machine|INFO|
2014-02-26 16:28:20,105|beaver.machine|INFO|Container killed by the ApplicationMaster.
{code}
Here is related code:
{code}
           // convert the row result into the HRegionLocation we need!
           location = MetaReader.getRegionLocations(regionInfoRow);
           HRegionInfo regionInfo = location.getRegionLocation().getRegionInfo();
           if (regionInfo == null) {
             throw new IOException("HRegionInfo was null or empty in " +
{code}
null check should be performed against location and location.getRegionLocation().



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message