Class TestRaceBetweenSCPAndTRSP.AssignmentManagerForTest

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

private static final class TestRaceBetweenSCPAndTRSP.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)
     
    (package private) CompletableFuture<Void>
    regionOpening(org.apache.hadoop.hbase.master.assignment.RegionStateNode regionNode)
     

    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, 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, numberOfUnclosedExcessRegionReplicas, numberOfUnclosedRegionsForDisabling, offlineRegion, onlineRegion, persistToMeta, populateRegionStatesFromMeta, populateRegionStatesFromMeta, processOfflineRegions, queueAssign, regionClosedAbnormally, regionClosedWithoutPersistingToMeta, regionClosing, regionFailedOpen, regionOpenedWithoutPersistingToMeta, reportOnlineRegions, reportRegionStateTransition, setupRIT, start, stop, submitServerCrash, submitUnassignProcedureForClosingExcessRegionReplicas, submitUnassignProcedureForDisablingTable, 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

    • regionOpening

      CompletableFuture<Void> regionOpening(org.apache.hadoop.hbase.master.assignment.RegionStateNode regionNode)
      Overrides:
      regionOpening in class org.apache.hadoop.hbase.master.assignment.AssignmentManager
    • 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