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

balanceRSGroup should skip generating balance plan for disabled table and splitParent region

    XMLWordPrintableJSON

    Details

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

      Description

      now ,we generate balance plan for disabled tables, which isĀ useless

      2020-08-20,20:47:54,702 WARN [RpcServer.default.RWQ.Fifo.read.handler=310,queue=6,port=22500] org.apache.hadoop.hbase.master.HMaster: Failed balance plan: hri=aa325467924edc865ab2ef6d82f9e2a7, source=tj1-hadoop-staging-st02.kscn,22600,1572403947348, destination=, just skip it
      org.apache.hadoop.hbase.client.DoNotRetryRegionException: Unexpected state for rit=CLOSED, location=tj1-hadoop-staging-st02.kscn,22600,1572403947348, table=galaxysds:sds_staging_258z, region=aa325467924edc865ab2ef6d82f9e2a7
              at org.apache.hadoop.hbase.master.assignment.AssignmentManager.preTransitCheck(AssignmentManager.java:580)
              at org.apache.hadoop.hbase.master.assignment.AssignmentManager.createMoveRegionProcedure(AssignmentManager.java:635)
              at org.apache.hadoop.hbase.master.assignment.AssignmentManager.moveAsync(AssignmentManager.java:652)
              at org.apache.hadoop.hbase.master.HMaster.executeRegionPlansWithThrottling(HMaster.java:1776)
              at org.apache.hadoop.hbase.rsgroup.RSGroupAdminServer.balanceRSGroup(RSGroupAdminServer.java:486)
              at org.apache.hadoop.hbase.rsgroup.RSGroupAdminEndpoint$RSGroupAdminServiceImpl.balanceRSGroup(RSGroupAdminEndpoint.java:293)
              at org.apache.hadoop.hbase.protobuf.generated.RSGroupAdminProtos$RSGroupAdminService.callMethod(RSGroupAdminProtos.java:13890)
              at org.apache.hadoop.hbase.master.MasterRpcServices.execMasterService(MasterRpcServices.java:908)
              at org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java)
              at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:413)
              at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:135)
              at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:338)
              at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:318)
      
      

        Attachments

          Activity

            People

            • Assignee:
              niuyulin Yulin Niu
              Reporter:
              niuyulin Yulin Niu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: