Class TestSchedulerQueueDeadLock.TableExclusiveProcedure
java.lang.Object
org.apache.hadoop.hbase.procedure2.Procedure<TEnv>
org.apache.hadoop.hbase.procedure2.ProcedureTestingUtility.NoopProcedure<TestSchedulerQueueDeadLock.TestEnv>
org.apache.hadoop.hbase.master.procedure.TestSchedulerQueueDeadLock.TableExclusiveProcedure
- All Implemented Interfaces:
Comparable<org.apache.hadoop.hbase.procedure2.Procedure<TestSchedulerQueueDeadLock.TestEnv>>
,org.apache.hadoop.hbase.master.procedure.TableProcedureInterface
- Direct Known Subclasses:
TestSchedulerQueueDeadLock.TableExclusiveProcedureWithId
- Enclosing class:
- TestSchedulerQueueDeadLock
public static class TestSchedulerQueueDeadLock.TableExclusiveProcedure
extends ProcedureTestingUtility.NoopProcedure<TestSchedulerQueueDeadLock.TestEnv>
implements org.apache.hadoop.hbase.master.procedure.TableProcedureInterface
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.procedure2.Procedure
org.apache.hadoop.hbase.procedure2.Procedure.LockState
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.master.procedure.TableProcedureInterface
org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.procedure2.Procedure
NO_PROC_ID, NO_TIMEOUT
Fields inherited from interface org.apache.hadoop.hbase.master.procedure.TableProcedureInterface
DUMMY_NAMESPACE_TABLE_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.hadoop.hbase.procedure2.Procedure.LockState
protected org.apache.hadoop.hbase.procedure2.Procedure<TestSchedulerQueueDeadLock.TestEnv>[]
org.apache.hadoop.hbase.TableName
org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType
protected boolean
protected void
Methods inherited from class org.apache.hadoop.hbase.procedure2.ProcedureTestingUtility.NoopProcedure
abort, deserializeStateData, rollback, serializeStateData
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, incChildrenLatch, isBypass, isFailed, isFinished, isInitializing, isLockedWhenLoading, isRollbackSupported, isRunnable, isSuccess, isWaiting, isYieldAfterExecutionStep, removeStackIndex, setAbortFailure, setChildrenLatch, setExecuted, setFailure, setFailure, setLastUpdate, setNonceKey, setOwner, setOwner, setParentProcId, setProcId, setResult, setRootProcId, setStackIndexes, setState, setSubmittedTime, setTimeout, setTimeoutFailure, shouldWaitClientAck, skipPersistence, suspend, toString, toStringClass, toStringClassDetails, toStringDetails, toStringSimpleSB, toStringState, updateMetricsOnFinish, updateMetricsOnSubmit, updateTimestamp, waitInitialized, wasExecuted
-
Field Details
-
latch
-
-
Constructor Details
-
TableExclusiveProcedure
public TableExclusiveProcedure()
-
-
Method Details
-
execute
protected org.apache.hadoop.hbase.procedure2.Procedure<TestSchedulerQueueDeadLock.TestEnv>[] execute(TestSchedulerQueueDeadLock.TestEnv env) throws org.apache.hadoop.hbase.procedure2.ProcedureYieldException, org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException, InterruptedException - Overrides:
execute
in classProcedureTestingUtility.NoopProcedure<TestSchedulerQueueDeadLock.TestEnv>
- Throws:
org.apache.hadoop.hbase.procedure2.ProcedureYieldException
org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException
InterruptedException
-
acquireLock
protected org.apache.hadoop.hbase.procedure2.Procedure.LockState acquireLock(TestSchedulerQueueDeadLock.TestEnv env) - Overrides:
acquireLock
in classorg.apache.hadoop.hbase.procedure2.Procedure<TestSchedulerQueueDeadLock.TestEnv>
-
releaseLock
- Overrides:
releaseLock
in classorg.apache.hadoop.hbase.procedure2.Procedure<TestSchedulerQueueDeadLock.TestEnv>
-
holdLock
- Overrides:
holdLock
in classorg.apache.hadoop.hbase.procedure2.Procedure<TestSchedulerQueueDeadLock.TestEnv>
-
getTableName
- Specified by:
getTableName
in interfaceorg.apache.hadoop.hbase.master.procedure.TableProcedureInterface
-
getTableOperationType
public org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType getTableOperationType()- Specified by:
getTableOperationType
in interfaceorg.apache.hadoop.hbase.master.procedure.TableProcedureInterface
-