public static class TestMoveSystemTableWithStopMaster.MoveRegionProcedureHoldBeforeAssign extends org.apache.hadoop.hbase.master.assignment.MoveRegionProcedure
org.apache.hadoop.hbase.procedure2.StateMachineProcedure.Flow
Modifier and Type | Field and Description |
---|---|
(package private) CountDownLatch |
masterStoppedLatch |
(package private) CountDownLatch |
moveRegionAssignLatch |
Constructor and Description |
---|
MoveRegionProcedureHoldBeforeAssign() |
MoveRegionProcedureHoldBeforeAssign(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env,
org.apache.hadoop.hbase.master.RegionPlan plan,
boolean check) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.hbase.procedure2.StateMachineProcedure.Flow |
executeFromState(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env,
org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.MoveRegionState state) |
abort, deserializeStateData, getInitialState, getPlan, getState, getStateId, getTableName, getTableOperationType, rollbackState, serializeStateData, toStringClassDetails, waitInitialized
acquireLock, checkTableModifiable, getRegion, holdLock, releaseLock, setFailure, setRegion
checkOnline, getRegionDir, getUser, getWALRegionDir, preflightChecks, releaseSyncLatch, setUser
addChildProcedure, execute, failIfAborted, getCurrentState, getCurrentStateId, getCycles, isEofState, isRollbackSupported, isYieldAfterExecutionStep, isYieldBeforeExecuteFromState, rollback, setNextState, toStringState
addStackIndex, afterReplay, beforeReplay, bypass, compareTo, completionCleanup, doExecute, doRollback, elapsedTime, getChildrenLatch, getException, getLastUpdate, getNonceKey, getOwner, getParentProcId, getProcedureMetrics, getProcId, getProcIdHashCode, getProcName, getResult, getRootProcedureId, getRootProcId, getStackIndexes, getState, getSubmittedTime, getTimeout, getTimeoutTimestamp, hasChildren, hasException, hasLock, hasOwner, hasParent, hasTimeout, haveSameParent, incChildrenLatch, isBypass, isFailed, isFinished, isInitializing, isLockedWhenLoading, isRunnable, isSuccess, isWaiting, removeStackIndex, setAbortFailure, setChildrenLatch, setFailure, setFailure, setLastUpdate, setNonceKey, setOwner, setOwner, setParentProcId, setProcId, setResult, setRootProcId, setStackIndexes, setState, setSubmittedTime, setTimeout, setTimeoutFailure, shouldWaitClientAck, skipPersistence, toString, toStringClass, toStringDetails, toStringSimpleSB, updateMetricsOnFinish, updateMetricsOnSubmit, updateTimestamp, wasExecuted
CountDownLatch masterStoppedLatch
CountDownLatch moveRegionAssignLatch
public MoveRegionProcedureHoldBeforeAssign()
public MoveRegionProcedureHoldBeforeAssign(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env, org.apache.hadoop.hbase.master.RegionPlan plan, boolean check) throws org.apache.hadoop.hbase.HBaseIOException
org.apache.hadoop.hbase.HBaseIOException
protected org.apache.hadoop.hbase.procedure2.StateMachineProcedure.Flow executeFromState(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.MoveRegionState state) throws InterruptedException
executeFromState
in class org.apache.hadoop.hbase.master.assignment.MoveRegionProcedure
InterruptedException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.