Class ModifyTableStoreFileTrackerProcedure
java.lang.Object
org.apache.hadoop.hbase.procedure2.Procedure<TEnvironment>
org.apache.hadoop.hbase.procedure2.StateMachineProcedure<MasterProcedureEnv,TState>
org.apache.hadoop.hbase.master.procedure.AbstractStateMachineTableProcedure<org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.ModifyStoreFileTrackerState>
org.apache.hadoop.hbase.regionserver.storefiletracker.ModifyStoreFileTrackerProcedure
org.apache.hadoop.hbase.regionserver.storefiletracker.ModifyTableStoreFileTrackerProcedure
- All Implemented Interfaces:
Comparable<Procedure<MasterProcedureEnv>>
,TableProcedureInterface
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.procedure2.StateMachineProcedure
StateMachineProcedure.Flow
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.procedure2.Procedure
Procedure.LockState
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.master.procedure.TableProcedureInterface
TableProcedureInterface.TableOperationType
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.procedure2.StateMachineProcedure
stateCount
Fields inherited from class org.apache.hadoop.hbase.procedure2.Procedure
NO_PROC_ID, NO_TIMEOUT
-
Constructor Summary
ConstructorDescriptionModifyTableStoreFileTrackerProcedure
(MasterProcedureEnv env, TableName tableName, String dstSFT) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.hadoop.conf.Configuration
createConf
(org.apache.hadoop.conf.Configuration conf, TableDescriptor current) protected TableDescriptor
protected TableDescriptor
createMigrationTableDescriptor
(org.apache.hadoop.conf.Configuration conf, TableDescriptor current) protected TableDescriptor
createRestoreTableDescriptor
(TableDescriptor current, String restoreSFT) protected void
preCheck
(TableDescriptor current) Methods inherited from class org.apache.hadoop.hbase.regionserver.storefiletracker.ModifyStoreFileTrackerProcedure
deserializeStateData, executeFromState, finish, getInitialState, getState, getStateId, getTableName, getTableOperationType, isRollbackSupported, migrate, rollbackState, serializeStateData
Methods inherited from class org.apache.hadoop.hbase.master.procedure.AbstractStateMachineTableProcedure
acquireLock, checkOnline, checkTableModifiable, getUser, getWALRegionDir, isTableEnabled, preflightChecks, releaseLock, releaseSyncLatch, setUser, toStringClassDetails, waitInitialized
Methods inherited from class org.apache.hadoop.hbase.procedure2.StateMachineProcedure
abort, addChildProcedure, execute, failIfAborted, getCurrentState, getCurrentStateId, getCycles, isEofState, isRollbackSupported, isYieldAfterExecutionStep, isYieldBeforeExecuteFromState, rollback, setNextState, toStringState
Methods inherited from class org.apache.hadoop.hbase.procedure2.Procedure
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, holdLock, incChildrenLatch, isBypass, isFailed, isFinished, isInitializing, isLockedWhenLoading, isRunnable, isSuccess, isWaiting, removeStackIndex, setAbortFailure, setChildrenLatch, setExecuted, setFailure, setFailure, setLastUpdate, setNonceKey, setOwner, setOwner, setParentProcId, setProcId, setResult, setRootProcId, setStackIndexes, setState, setSubmittedTime, setTimeout, setTimeoutFailure, shouldWaitClientAck, skipPersistence, suspend, toString, toStringClass, toStringDetails, toStringSimpleSB, updateMetricsOnFinish, updateMetricsOnSubmit, updateTimestamp, wasExecuted
-
Constructor Details
-
ModifyTableStoreFileTrackerProcedure
public ModifyTableStoreFileTrackerProcedure() -
ModifyTableStoreFileTrackerProcedure
public ModifyTableStoreFileTrackerProcedure(MasterProcedureEnv env, TableName tableName, String dstSFT) throws HBaseIOException - Throws:
HBaseIOException
-
-
Method Details
-
preCheck
- Specified by:
preCheck
in classModifyStoreFileTrackerProcedure
-
createConf
protected org.apache.hadoop.conf.Configuration createConf(org.apache.hadoop.conf.Configuration conf, TableDescriptor current) - Specified by:
createConf
in classModifyStoreFileTrackerProcedure
-
createRestoreTableDescriptor
- Specified by:
createRestoreTableDescriptor
in classModifyStoreFileTrackerProcedure
-
createMigrationTableDescriptor
protected TableDescriptor createMigrationTableDescriptor(org.apache.hadoop.conf.Configuration conf, TableDescriptor current) - Specified by:
createMigrationTableDescriptor
in classModifyStoreFileTrackerProcedure
-
createFinishTableDescriptor
- Specified by:
createFinishTableDescriptor
in classModifyStoreFileTrackerProcedure
-