public static class TestAssignProcedure.TargetServerBeingNulledOnUsAssignProcedure extends org.apache.hadoop.hbase.master.assignment.AssignProcedure
TestAssignProcedure.testTargetServerBeingNulledOnUs()
.org.apache.hadoop.hbase.master.assignment.AssignProcedure.CompareAssignProcedure
Modifier and Type | Field and Description |
---|---|
AtomicBoolean |
addToRemoteDispatcherWasCalled |
AtomicBoolean |
remoteCallFailedWasCalled |
private org.apache.hadoop.hbase.master.assignment.RegionStates.RegionStateNode |
rsn |
COMPARATOR, targetServer
Constructor and Description |
---|
TargetServerBeingNulledOnUsAssignProcedure(org.apache.hadoop.hbase.client.RegionInfo regionInfo,
org.apache.hadoop.hbase.master.assignment.RegionStates.RegionStateNode rsn) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
addToRemoteDispatcher(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env,
org.apache.hadoop.hbase.ServerName targetServer) |
org.apache.hadoop.hbase.master.assignment.RegionStates.RegionStateNode |
getRegionState(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env) |
boolean |
remoteCallFailed(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env,
org.apache.hadoop.hbase.ServerName serverName,
IOException exception) |
boolean |
updateTransition(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env,
org.apache.hadoop.hbase.master.assignment.RegionStates.RegionStateNode regionNode)
Override so can change access from protected to public.
|
assign, assign, deserializeStateData, finishTransition, getProcedureMetrics, getServer, getTableOperationType, isRollbackSupported, remoteCallBuild, remoteCallFailed, reportTransition, serializeStateData, startTransition, toStringClassDetails
abort, acquireLock, bypass, execute, getAttempt, getRegionInfo, getTableName, getTransitionState, holdLock, isMeta, isServerOnline, isServerOnline, releaseLock, remoteCallCompleted, reportTransition, rollback, setAttempt, setOverride, setRegionInfo, setTimeoutFailure, shouldWaitClientAck, toStringState, waitInitialized
addStackIndex, afterReplay, beforeReplay, compareTo, completionCleanup, doExecute, doRollback, elapsedTime, getChildrenLatch, getException, getLastUpdate, getNonceKey, getOwner, getParentProcId, 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, isYieldAfterExecutionStep, removeStackIndex, setAbortFailure, setChildrenLatch, setFailure, setFailure, setLastUpdate, setNonceKey, setOwner, setOwner, setParentProcId, setProcId, setResult, setRootProcId, setStackIndexes, setState, setSubmittedTime, setTimeout, skipPersistence, toString, toStringClass, toStringDetails, toStringSimpleSB, updateMetricsOnFinish, updateMetricsOnSubmit, updateTimestamp, wasExecuted
public final AtomicBoolean addToRemoteDispatcherWasCalled
public final AtomicBoolean remoteCallFailedWasCalled
private final org.apache.hadoop.hbase.master.assignment.RegionStates.RegionStateNode rsn
public TargetServerBeingNulledOnUsAssignProcedure(org.apache.hadoop.hbase.client.RegionInfo regionInfo, org.apache.hadoop.hbase.master.assignment.RegionStates.RegionStateNode rsn)
public boolean updateTransition(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env, org.apache.hadoop.hbase.master.assignment.RegionStates.RegionStateNode regionNode) throws IOException, org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException
updateTransition
in class org.apache.hadoop.hbase.master.assignment.AssignProcedure
IOException
org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException
protected boolean addToRemoteDispatcher(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env, org.apache.hadoop.hbase.ServerName targetServer)
addToRemoteDispatcher
in class org.apache.hadoop.hbase.master.assignment.RegionTransitionProcedure
public org.apache.hadoop.hbase.master.assignment.RegionStates.RegionStateNode getRegionState(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env)
getRegionState
in class org.apache.hadoop.hbase.master.assignment.RegionTransitionProcedure
public boolean remoteCallFailed(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env, org.apache.hadoop.hbase.ServerName serverName, IOException exception)
remoteCallFailed
in interface org.apache.hadoop.hbase.procedure2.RemoteProcedureDispatcher.RemoteProcedure<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv,org.apache.hadoop.hbase.ServerName>
remoteCallFailed
in class org.apache.hadoop.hbase.master.assignment.RegionTransitionProcedure
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.