HBase
  1. HBase
  2. HBASE-9554

TestOfflineMetaRebuildOverlap#testMetaRebuildOverlapFail fails due to NPE

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.98.0, 0.96.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      From http://54.241.6.143/job/HBase-TRUNK/org.apache.hbase$hbase-server/496/testReport/org.apache.hadoop.hbase.util.hbck/TestOfflineMetaRebuildOverlap/testMetaRebuildOverlapFail/ :

      java.lang.Exception: test timed out after 120000 milliseconds
      	at java.lang.Thread.sleep(Native Method)
      	at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:148)
      	at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:94)
      	at org.apache.hadoop.hbase.client.HBaseAdmin.executeCallable(HBaseAdmin.java:3153)
      	at org.apache.hadoop.hbase.client.HBaseAdmin.unassign(HBaseAdmin.java:1714)
      	at org.apache.hadoop.hbase.util.hbck.OfflineMetaRebuildTestCore.wipeOutMeta(OfflineMetaRebuildTestCore.java:242)
      	at org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildOverlap.testMetaRebuildOverlapFail(TestOfflineMetaRebuildOverlap.java:54)
      ...
      2013-09-17 00:59:52,928 ERROR [FifoRpcScheduler.handler1-thread-2] ipc.RpcServer(2016): Unexpected throwable object 
      java.lang.NullPointerException
      	at org.apache.hadoop.hbase.master.AssignmentManager.unassign(AssignmentManager.java:2301)
      	at org.apache.hadoop.hbase.master.AssignmentManager.unassign(AssignmentManager.java:2381)
      	at org.apache.hadoop.hbase.master.HMaster.unassignRegion(HMaster.java:2499)
      	at org.apache.hadoop.hbase.protobuf.generated.MasterAdminProtos$MasterAdminService$2.callBlockingMethod(MasterAdminProtos.java:32854)
      	at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:1979)
      	at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:90)
      	at org.apache.hadoop.hbase.ipc.FifoRpcScheduler$1.run(FifoRpcScheduler.java:73)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      

        Activity

        Hide
        Ted Yu added a comment -

        Patch v1 adds check for state against null.

        TestOfflineMetaRebuildOverlap passes with the patch.

        Show
        Ted Yu added a comment - Patch v1 adds check for state against null. TestOfflineMetaRebuildOverlap passes with the patch.
        Hide
        stack added a comment -

        +1 I just made the same patch.

        Show
        stack added a comment - +1 I just made the same patch.
        Hide
        stack added a comment -

        Resolved. Committed fix for failing test to 0.96 and trunk.

        Show
        stack added a comment - Resolved. Committed fix for failing test to 0.96 and trunk.
        Hide
        Ted Yu added a comment -

        Wow, this is the fastest turn around I've ever seen.

        Show
        Ted Yu added a comment - Wow, this is the fastest turn around I've ever seen.
        Hide
        Hudson added a comment -

        FAILURE: Integrated in HBase-TRUNK #4518 (See https://builds.apache.org/job/HBase-TRUNK/4518/)
        HBASE-9554 TestOfflineMetaRebuildOverlap#testMetaRebuildOverlapFail fails due to NPE (stack: rev 1523870)

        • /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
        Show
        Hudson added a comment - FAILURE: Integrated in HBase-TRUNK #4518 (See https://builds.apache.org/job/HBase-TRUNK/4518/ ) HBASE-9554 TestOfflineMetaRebuildOverlap#testMetaRebuildOverlapFail fails due to NPE (stack: rev 1523870) /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
        Hide
        Hudson added a comment -

        FAILURE: Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #734 (See https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/734/)
        HBASE-9554 TestOfflineMetaRebuildOverlap#testMetaRebuildOverlapFail fails due to NPE (stack: rev 1523870)

        • /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
        Show
        Hudson added a comment - FAILURE: Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #734 (See https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/734/ ) HBASE-9554 TestOfflineMetaRebuildOverlap#testMetaRebuildOverlapFail fails due to NPE (stack: rev 1523870) /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
        Hide
        Hudson added a comment -

        FAILURE: Integrated in hbase-0.96 #58 (See https://builds.apache.org/job/hbase-0.96/58/)
        HBASE-9554 TestOfflineMetaRebuildOverlap#testMetaRebuildOverlapFail fails due to NPE (stack: rev 1523869)

        • /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
        Show
        Hudson added a comment - FAILURE: Integrated in hbase-0.96 #58 (See https://builds.apache.org/job/hbase-0.96/58/ ) HBASE-9554 TestOfflineMetaRebuildOverlap#testMetaRebuildOverlapFail fails due to NPE (stack: rev 1523869) /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
        Hide
        Hudson added a comment -

        SUCCESS: Integrated in hbase-0.96-hadoop2 #33 (See https://builds.apache.org/job/hbase-0.96-hadoop2/33/)
        HBASE-9554 TestOfflineMetaRebuildOverlap#testMetaRebuildOverlapFail fails due to NPE (stack: rev 1523869)

        • /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
        Show
        Hudson added a comment - SUCCESS: Integrated in hbase-0.96-hadoop2 #33 (See https://builds.apache.org/job/hbase-0.96-hadoop2/33/ ) HBASE-9554 TestOfflineMetaRebuildOverlap#testMetaRebuildOverlapFail fails due to NPE (stack: rev 1523869) /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java

          People

          • Assignee:
            Ted Yu
            Reporter:
            Ted Yu
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development