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

Bypassed procedure throw IllegalArgumentException when its state is WAITING_TIMEOUT

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.1, 2.0.2
    • 3.0.0-alpha-1, 2.2.0, 2.0.3, 2.1.2
    • None
    • None

    Description

      2018-11-05,18:25:52,735 WARN org.apache.hadoop.hbase.procedure2.ProcedureExecutor: Worker terminating UNNATURALLY null
      java.lang.IllegalArgumentException: NOT RUNNABLE! pid=3, state=WAITING_TIMEOUT:REGION_STATE_TRANSITION_CLOSE, hasLock=true, bypass=true; TransitRegionStateProcedure table=test_fail
      over, region=1bb029ba4ec03b92061be5c4329d2096, UNASSIGN
              at org.apache.hbase.thirdparty.com.google.common.base.Preconditions.checkArgument(Preconditions.java:134)
              at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execProcedure(ProcedureExecutor.java:1620)
              at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.executeProcedure(ProcedureExecutor.java:1384)
              at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.access$1100(ProcedureExecutor.java:78)
              at org.apache.hadoop.hbase.procedure2.ProcedureExecutor$WorkerThread.run(ProcedureExecutor.java:1948)
      2018-11-05,18:25:52,736 TRACE org.apache.hadoop.hbase.procedure2.ProcedureExecutor: Worker terminated.
      

      Since when we bypassed a WAITING_TIMEOUT procedure and resubmit it, its state is still WAITING_TIMEOUT, then when executor run this procedure, it will throw exception and cause worker terminated.

      Attachments

        1. HBASE-21437.master.001.patch
          5 kB
          Jingyun Tian
        2. HBASE-21437.master.002.patch
          6 kB
          Jingyun Tian
        3. HBASE-21437.master.003.patch
          6 kB
          Jingyun Tian

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tianjingyun Jingyun Tian
            tianjingyun Jingyun Tian
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment