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

Balancer should skip disabled tables's regions

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha-1, 2.2.2, 2.1.8
    • Fix Version/s: 3.0.0-alpha-1, 2.3.0, 2.2.3
    • Component/s: Balancer
    • Labels:
      None

      Description

      2019-12-06 16:34:24,782 INFO  [master/100.107.176.225:60000.Chore.1] master.HMaster: balance hri=b498e046cdc07bbd53bf77e18d849d55, source=100.107.176.215,60020,1575424666778, destination=100.107.176.215,60020,1575614522652
      2019-12-06 16:34:24,782 WARN  [master/100.107.176.225:60000.Chore.1] master.HMaster: Failed balance plan: hri=b498e046cdc07bbd53bf77e18d849d55, source=100.107.176.215,60020,1575424666778, destination=100.107.176.215,60020,1575614522652, just skip it
      org.apache.hadoop.hbase.client.DoNotRetryRegionException: Unexpected state for rit=CLOSED, location=100.107.176.215,60020,1575424666778, table=table_1024B_10, region=b498e046cdc07bbd53bf77e18d849d55
              at org.apache.hadoop.hbase.master.assignment.AssignmentManager.preTransitCheck(AssignmentManager.java:581)
              at org.apache.hadoop.hbase.master.assignment.AssignmentManager.createMoveRegionProcedure(AssignmentManager.java:637)
              at org.apache.hadoop.hbase.master.assignment.AssignmentManager.moveAsync(AssignmentManager.java:654)
              at org.apache.hadoop.hbase.master.HMaster.executeRegionPlansWithThrottling(HMaster.java:1754)
              at org.apache.hadoop.hbase.master.HMaster.balance(HMaster.java:1722)
              at org.apache.hadoop.hbase.master.HMaster.balance(HMaster.java:1649)
              at org.apache.hadoop.hbase.master.balancer.BalancerChore.chore(BalancerChore.java:49)
              at org.apache.hadoop.hbase.ScheduledChore.run(ScheduledChore.java:186)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
              at org.apache.hadoop.hbase.JitterScheduledThreadPoolExecutorImpl$JitteredRunnableScheduledFuture.run(JitterScheduledThreadPoolExecutorImpl.java:111)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      

      The balancer in master/branch-2 do not skip disabled tables's regions and print a lot log like the above.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                binlijin Lijin Bin
                Reporter:
                binlijin Lijin Bin
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: