Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-21078

[amv2] CODE-BUG NPE in RTP doing Unassign

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 3.0.0, 2.2.0, 2.1.1, 2.0.2
    • Component/s: amv2
    • Labels:
      None

      Description

      Saw this is a run against tip of branch-2.0. The region had just finished being split when the move goes to run.

      2018-08-18 16:55:14,908 INFO  [PEWorker-2] procedure2.ProcedureExecutor: Finished pid=2028, state=SUCCESS, hasLock=false; SplitTableRegionProcedure table=IntegrationTestBigLinkedList, parent=c3f199b5af62ae2ff8f8b6426b21d95d, daughterA=31ccbf098ae615ce30f28ec84c956b8f, daughterB=1890b4c96736f223f31efef11c817c90 in 9.0090sec
      2018-08-18 16:55:14,908 INFO  [PEWorker-16] procedure.MasterProcedureScheduler: pid=2038, ppid=2030, state=RUNNABLE:MOVE_REGION_UNASSIGN, hasLock=false; MoveRegionProcedure hri=c3f199b5af62ae2ff8f8b6426b21d95d, source=ve0540.halxg.cloudera.com,16020,1534632630737, destination=ve0540.halxg.cloudera.com,16020,1534632630737 checking lock on c3f199b5af62ae2ff8f8b6426b21d95d
      2018-08-18 16:55:14,958 INFO  [PEWorker-16] procedure2.ProcedureExecutor: Initialized subprocedures=[{pid=2095, ppid=2038, state=RUNNABLE:REGION_TRANSITION_DISPATCH, hasLock=false; UnassignProcedure table=IntegrationTestBigLinkedList, region=c3f199b5af62ae2ff8f8b6426b21d95d, server=ve0540.halxg.cloudera.com,16020,1534632630737}]
      2018-08-18 16:55:15,008 INFO  [PEWorker-3] procedure.MasterProcedureScheduler: pid=2095, ppid=2038, state=RUNNABLE:REGION_TRANSITION_DISPATCH, hasLock=false; UnassignProcedure table=IntegrationTestBigLinkedList, region=c3f199b5af62ae2ff8f8b6426b21d95d, server=ve0540.halxg.cloudera.com,16020,1534632630737 checking lock on c3f199b5af62ae2ff8f8b6426b21d95d
      2018-08-18 16:55:15,085 ERROR [PEWorker-3] procedure2.ProcedureExecutor: CODE-BUG: Uncaught runtime exception: pid=2095, ppid=2038, state=RUNNABLE:REGION_TRANSITION_DISPATCH, hasLock=true; UnassignProcedure table=IntegrationTestBigLinkedList, region=c3f199b5af62ae2ff8f8b6426b21d95d, server=ve0540.halxg.cloudera.com,16020,1534632630737
      java.lang.NullPointerException
        at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
        at org.apache.hadoop.hbase.master.assignment.RegionStates.getOrCreateServer(RegionStates.java:1097)
        at org.apache.hadoop.hbase.master.assignment.RegionStates.addRegionToServer(RegionStates.java:1125)
        at org.apache.hadoop.hbase.master.assignment.AssignmentManager.markRegionAsClosing(AssignmentManager.java:1477)
        at org.apache.hadoop.hbase.master.assignment.UnassignProcedure.updateTransition(UnassignProcedure.java:204)
        at org.apache.hadoop.hbase.master.assignment.RegionTransitionProcedure.execute(RegionTransitionProcedure.java:345)
        at org.apache.hadoop.hbase.master.assignment.RegionTransitionProcedure.execute(RegionTransitionProcedure.java:97)
        at org.apache.hadoop.hbase.procedure2.Procedure.doExecute(Procedure.java:873)
        at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execProcedure(ProcedureExecutor.java:1556)
        at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.executeProcedure(ProcedureExecutor.java:1344)
        at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.access$900(ProcedureExecutor.java:76)
        at org.apache.hadoop.hbase.procedure2.ProcedureExecutor$WorkerThread.run(ProcedureExecutor.java:1854)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stack stack
                Reporter:
                stack stack
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: