Class TestSCPGetRegionsRace.AssignmentManagerForTest

java.lang.Object
org.apache.hadoop.hbase.master.assignment.AssignmentManager
org.apache.hadoop.hbase.master.assignment.TestSCPGetRegionsRace.AssignmentManagerForTest
Enclosing class:
TestSCPGetRegionsRace

private static final class TestSCPGetRegionsRace.AssignmentManagerForTest extends org.apache.hadoop.hbase.master.assignment.AssignmentManager
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.hadoop.hbase.master.assignment.AssignmentManager

    org.apache.hadoop.hbase.master.assignment.AssignmentManager.RegionInTransitionStat
  • Field Summary

    Fields inherited from class org.apache.hadoop.hbase.master.assignment.AssignmentManager

    ASSIGN_DISPATCH_WAIT_MSEC_CONF_KEY, ASSIGN_DISPATCH_WAITQ_MAX_CONF_KEY, ASSIGN_MAX_ATTEMPTS, ASSIGN_RETRY_IMMEDIATELY_MAX_ATTEMPTS, BOOTSTRAP_THREAD_POOL_SIZE_CONF_KEY, DEAD_REGION_METRIC_CHORE_INTERVAL_MSEC_CONF_KEY, DEFAULT_FORCE_REGION_RETAINMENT, DEFAULT_FORCE_REGION_RETAINMENT_RETRIES, DEFAULT_FORCE_REGION_RETAINMENT_WAIT_INTERVAL, FORCE_REGION_RETAINMENT, FORCE_REGION_RETAINMENT_RETRIES, FORCE_REGION_RETAINMENT_WAIT_INTERVAL, METRICS_RIT_STUCK_WARNING_THRESHOLD, RIT_CHORE_INTERVAL_MSEC_CONF_KEY, UNEXPECTED_STATE_REGION
  • Constructor Summary

    Constructors
    Constructor
    Description
    AssignmentManagerForTest(org.apache.hadoop.hbase.master.MasterServices master, org.apache.hadoop.hbase.master.region.MasterRegion masterRegion)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.apache.hadoop.hbase.client.RegionInfo>
    getRegionsOnServer(org.apache.hadoop.hbase.ServerName serverName)
     
    org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.ReportRegionStateTransitionResponse
    reportRegionStateTransition(org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.ReportRegionStateTransitionRequest req)
     

    Methods inherited from class org.apache.hadoop.hbase.master.assignment.AssignmentManager

    assign, assign, assignAsync, assignAsync, balance, checkIfShouldMoveSystemRegionAsync, compare, computeRegionInTransitionStat, createAssignProcedures, createMergeProcedure, createMoveRegionProcedure, createOneAssignProcedure, createOneUnassignProcedure, createRoundRobinAssignProcedures, createRoundRobinAssignProcedures, createSplitProcedure, createTruncateRegionProcedure, createUnassignProceduresForClosingExcessRegionReplicas, createUnassignProceduresForDisabling, deleteTable, getAssignedRegions, getAssignMaxAttempts, getAssignmentManagerMetrics, getAssignRetryImmediatelyMaxAttempts, getConfiguration, getExcludedServersForSystemTable, getFavoredNodes, getForceRegionRetainmentRetries, getForceRegionRetainmentWaitInterval, getMaster, getMetaRegionFromName, getMetaRegionSet, getNumRegionsOpened, getRegionInfo, getRegionInfo, getRegionsInTransition, getRegionStates, getRegionStatesCount, getRegionStateStore, getReopenStatus, getRSReports, getSnapShotOfAssignment, getTableRegions, getTableRegionsAndLocations, hasRegionsInTransition, isCarryingMeta, isForceRegionRetainment, isMetaAssigned, isMetaLoaded, isMetaRegion, isMetaRegionInTransition, isRunning, joinCluster, markRegionAsMerged, markRegionAsSplit, move, moveAsync, offlineRegion, onlineRegion, persistToMeta, populateRegionStatesFromMeta, populateRegionStatesFromMeta, processOfflineRegions, queueAssign, regionClosedAbnormally, regionClosedWithoutPersistingToMeta, regionClosing, regionFailedOpen, regionOpenedWithoutPersistingToMeta, regionOpening, reportOnlineRegions, setupRIT, start, stop, submitServerCrash, unassign, waitMetaAssigned, waitMetaLoaded, wakeMetaLoadedEvent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AssignmentManagerForTest

      public AssignmentManagerForTest(org.apache.hadoop.hbase.master.MasterServices master, org.apache.hadoop.hbase.master.region.MasterRegion masterRegion)
  • Method Details

    • reportRegionStateTransition

      public org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.ReportRegionStateTransitionResponse reportRegionStateTransition(org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.ReportRegionStateTransitionRequest req) throws org.apache.hadoop.hbase.PleaseHoldException
      Overrides:
      reportRegionStateTransition in class org.apache.hadoop.hbase.master.assignment.AssignmentManager
      Throws:
      org.apache.hadoop.hbase.PleaseHoldException
    • getRegionsOnServer

      public List<org.apache.hadoop.hbase.client.RegionInfo> getRegionsOnServer(org.apache.hadoop.hbase.ServerName serverName)
      Overrides:
      getRegionsOnServer in class org.apache.hadoop.hbase.master.assignment.AssignmentManager