public class ShellTestProcedure extends org.apache.hadoop.hbase.procedure2.Procedure<Object> implements org.apache.hadoop.hbase.master.procedure.TableProcedureInterface
Modifier and Type | Field and Description |
---|---|
private String |
tableNameString |
Constructor and Description |
---|
ShellTestProcedure() |
ShellTestProcedure(String tableNameString) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
abort(Object env) |
protected void |
deserializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) |
protected org.apache.hadoop.hbase.procedure2.Procedure<Object>[] |
execute(Object env) |
org.apache.hadoop.hbase.TableName |
getTableName() |
String |
getTableNameString() |
org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType |
getTableOperationType() |
protected void |
rollback(Object env) |
protected void |
serializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) |
void |
setTableNameString(String tableNameString) |
acquireLock, 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, isYieldAfterExecutionStep, releaseLock, removeStackIndex, setAbortFailure, setChildrenLatch, setFailure, setFailure, setLastUpdate, setNonceKey, setOwner, setOwner, setParentProcId, setProcId, setResult, setRootProcId, setStackIndexes, setState, setSubmittedTime, setTimeout, setTimeoutFailure, shouldWaitClientAck, skipPersistence, toString, toStringClass, toStringClassDetails, toStringDetails, toStringSimpleSB, toStringState, updateMetricsOnFinish, updateMetricsOnSubmit, updateTimestamp, waitInitialized, wasExecuted
private String tableNameString
public ShellTestProcedure()
public ShellTestProcedure(String tableNameString)
public String getTableNameString()
public void setTableNameString(String tableNameString)
public org.apache.hadoop.hbase.TableName getTableName()
getTableName
in interface org.apache.hadoop.hbase.master.procedure.TableProcedureInterface
public org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType getTableOperationType()
getTableOperationType
in interface org.apache.hadoop.hbase.master.procedure.TableProcedureInterface
protected org.apache.hadoop.hbase.procedure2.Procedure<Object>[] execute(Object env) throws org.apache.hadoop.hbase.procedure2.ProcedureYieldException, org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException, InterruptedException
execute
in class org.apache.hadoop.hbase.procedure2.Procedure<Object>
org.apache.hadoop.hbase.procedure2.ProcedureYieldException
org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException
InterruptedException
protected void rollback(Object env) throws IOException, InterruptedException
rollback
in class org.apache.hadoop.hbase.procedure2.Procedure<Object>
IOException
InterruptedException
protected boolean abort(Object env)
abort
in class org.apache.hadoop.hbase.procedure2.Procedure<Object>
protected void serializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) throws IOException
serializeStateData
in class org.apache.hadoop.hbase.procedure2.Procedure<Object>
IOException
protected void deserializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) throws IOException
deserializeStateData
in class org.apache.hadoop.hbase.procedure2.Procedure<Object>
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.