Also used :
ScmConfigKeys(org.apache.hadoop.hdds.scm.ScmConfigKeys)
CLOSE(org.apache.hadoop.hdds.protocol.proto.HddsProtos.LifeCycleEvent.CLOSE)
SCMHAInvocationHandler(org.apache.hadoop.hdds.scm.ha.SCMHAInvocationHandler)
InvalidStateTransitionException(org.apache.hadoop.ozone.common.statemachine.InvalidStateTransitionException)
HddsProtos(org.apache.hadoop.hdds.protocol.proto.HddsProtos)
Proxy(java.lang.reflect.Proxy)
ContainerState(org.apache.hadoop.hdds.scm.container.states.ContainerState)
LoggerFactory(org.slf4j.LoggerFactory)
ReentrantReadWriteLock(java.util.concurrent.locks.ReentrantReadWriteLock)
ExecutionUtil(org.apache.hadoop.hdds.scm.ha.ExecutionUtil)
StateMachine(org.apache.hadoop.ozone.common.statemachine.StateMachine)
SCMRatisServer(org.apache.hadoop.hdds.scm.ha.SCMRatisServer)
QUASI_CLOSE(org.apache.hadoop.hdds.protocol.proto.HddsProtos.LifeCycleEvent.QUASI_CLOSE)
HashSet(java.util.HashSet)
LifeCycleState(org.apache.hadoop.hdds.protocol.proto.HddsProtos.LifeCycleState)
OPEN(org.apache.hadoop.hdds.protocol.proto.HddsProtos.LifeCycleState.OPEN)
FINALIZE(org.apache.hadoop.hdds.protocol.proto.HddsProtos.LifeCycleEvent.FINALIZE)
CLEANUP(org.apache.hadoop.hdds.protocol.proto.HddsProtos.LifeCycleEvent.CLEANUP)
Map(java.util.Map)
Configuration(org.apache.hadoop.conf.Configuration)
PipelineNotFoundException(org.apache.hadoop.hdds.scm.pipeline.PipelineNotFoundException)
FORCE_CLOSE(org.apache.hadoop.hdds.protocol.proto.HddsProtos.LifeCycleEvent.FORCE_CLOSE)
CLOSING(org.apache.hadoop.hdds.protocol.proto.HddsProtos.LifeCycleState.CLOSING)
ReadWriteLock(java.util.concurrent.locks.ReadWriteLock)
DBTransactionBuffer(org.apache.hadoop.hdds.scm.metadata.DBTransactionBuffer)
DELETING(org.apache.hadoop.hdds.protocol.proto.HddsProtos.LifeCycleState.DELETING)
DELETE(org.apache.hadoop.hdds.protocol.proto.HddsProtos.LifeCycleEvent.DELETE)
StorageUnit(org.apache.hadoop.conf.StorageUnit)
LifeCycleEvent(org.apache.hadoop.hdds.protocol.proto.HddsProtos.LifeCycleEvent)
Logger(org.slf4j.Logger)
CLOSED(org.apache.hadoop.hdds.protocol.proto.HddsProtos.LifeCycleState.CLOSED)
EnumMap(java.util.EnumMap)
ConcurrentHashMap(java.util.concurrent.ConcurrentHashMap)
Set(java.util.Set)
IOException(java.io.IOException)
NavigableSet(java.util.NavigableSet)
RequestType(org.apache.hadoop.hdds.protocol.proto.SCMRatisProtocol.RequestType)
PipelineManager(org.apache.hadoop.hdds.scm.pipeline.PipelineManager)
Table(org.apache.hadoop.hdds.utils.db.Table)
QUASI_CLOSED(org.apache.hadoop.hdds.protocol.proto.HddsProtos.LifeCycleState.QUASI_CLOSED)
PipelineID(org.apache.hadoop.hdds.scm.pipeline.PipelineID)
Preconditions(com.google.common.base.Preconditions)
ContainerInfoProto(org.apache.hadoop.hdds.protocol.proto.HddsProtos.ContainerInfoProto)
DELETED(org.apache.hadoop.hdds.protocol.proto.HddsProtos.LifeCycleState.DELETED)
TableIterator(org.apache.hadoop.hdds.utils.db.TableIterator)
CheckedConsumer(org.apache.hadoop.hdds.scm.ha.CheckedConsumer)
ContainerStateMap(org.apache.hadoop.hdds.scm.container.states.ContainerStateMap)
KeyValue(org.apache.hadoop.hdds.utils.db.Table.KeyValue)
LifeCycleState(org.apache.hadoop.hdds.protocol.proto.HddsProtos.LifeCycleState)