@InterfaceAudience.Private public class ModifyColumnFamilyStoreFileTrackerProcedure extends ModifyStoreFileTrackerProcedure
StateMachineProcedure.Flow
Procedure.LockState
TableProcedureInterface.TableOperationType
Modifier and Type | Field and Description |
---|---|
private byte[] |
family |
stateCount
NO_PROC_ID, NO_TIMEOUT
Constructor and Description |
---|
ModifyColumnFamilyStoreFileTrackerProcedure() |
ModifyColumnFamilyStoreFileTrackerProcedure(MasterProcedureEnv env,
TableName tableName,
byte[] family,
String dstSFT) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.conf.Configuration |
createConf(org.apache.hadoop.conf.Configuration conf,
TableDescriptor current) |
protected TableDescriptor |
createFinishTableDescriptor(TableDescriptor current) |
protected TableDescriptor |
createMigrationTableDescriptor(org.apache.hadoop.conf.Configuration conf,
TableDescriptor current) |
protected TableDescriptor |
createRestoreTableDescriptor(TableDescriptor current,
String restoreSFT) |
protected void |
deserializeStateData(ProcedureStateSerializer serializer)
Called on store load to allow the user to decode the previously serialized state.
|
protected void |
preCheck(TableDescriptor current) |
protected void |
serializeStateData(ProcedureStateSerializer serializer)
The user-level code of the procedure may have some state to persist (e.g.
|
executeFromState, finish, getInitialState, getState, getStateId, getTableName, getTableOperationType, isRollbackSupported, migrate, rollbackState
acquireLock, checkOnline, checkTableModifiable, getUser, getWALRegionDir, isTableEnabled, preflightChecks, releaseLock, releaseSyncLatch, setUser, toStringClassDetails, waitInitialized
abort, addChildProcedure, execute, failIfAborted, getCurrentState, getCurrentStateId, getCycles, isEofState, 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, holdLock, 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
private byte[] family
public ModifyColumnFamilyStoreFileTrackerProcedure()
public ModifyColumnFamilyStoreFileTrackerProcedure(MasterProcedureEnv env, TableName tableName, byte[] family, String dstSFT) throws HBaseIOException
HBaseIOException
protected void preCheck(TableDescriptor current) throws IOException
preCheck
in class ModifyStoreFileTrackerProcedure
IOException
protected org.apache.hadoop.conf.Configuration createConf(org.apache.hadoop.conf.Configuration conf, TableDescriptor current)
createConf
in class ModifyStoreFileTrackerProcedure
protected TableDescriptor createRestoreTableDescriptor(TableDescriptor current, String restoreSFT)
createRestoreTableDescriptor
in class ModifyStoreFileTrackerProcedure
protected TableDescriptor createMigrationTableDescriptor(org.apache.hadoop.conf.Configuration conf, TableDescriptor current)
createMigrationTableDescriptor
in class ModifyStoreFileTrackerProcedure
protected TableDescriptor createFinishTableDescriptor(TableDescriptor current)
createFinishTableDescriptor
in class ModifyStoreFileTrackerProcedure
protected void serializeStateData(ProcedureStateSerializer serializer) throws IOException
Procedure
serializeStateData
in class ModifyStoreFileTrackerProcedure
serializer
- stores the serializable stateIOException
protected void deserializeStateData(ProcedureStateSerializer serializer) throws IOException
Procedure
deserializeStateData
in class ModifyStoreFileTrackerProcedure
serializer
- contains the serialized stateIOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.