Uses of Class
org.apache.hadoop.ozone.protocol.commands.SCMCommand
Packages that use SCMCommand
Package
Description
State machine class is used by the container to denote various states a
container can be in and also is used for command processing.
Classes dedicated to handle container commands.
This package contains classes for HDDS protocol definitions.
Set of classes that help in protoc conversions.
-
Uses of SCMCommand in org.apache.hadoop.ozone.container.common.statemachine
Methods in org.apache.hadoop.ozone.container.common.statemachine that return SCMCommandModifier and TypeMethodDescriptionSCMCommand<?> StateContext.getNextCommand()Returns the next command or null if it is empty.Methods in org.apache.hadoop.ozone.container.common.statemachine with parameters of type SCMCommandModifier and TypeMethodDescriptionvoidStateContext.addCmdStatus(SCMCommand<?> cmd) Adds aCommandStatusto the State Machine for given SCMCommand.voidStateContext.addCommand(SCMCommand<?> command) Adds a command to the State Machine queue. -
Uses of SCMCommand in org.apache.hadoop.ozone.container.common.statemachine.commandhandler
Methods in org.apache.hadoop.ozone.container.common.statemachine.commandhandler with parameters of type SCMCommandModifier and TypeMethodDescriptionvoidCloseContainerCommandHandler.handle(SCMCommand<?> command, OzoneContainer ozoneContainer, StateContext context, SCMConnectionManager connectionManager) Handles a given SCM command.voidClosePipelineCommandHandler.handle(SCMCommand<?> command, OzoneContainer ozoneContainer, StateContext context, SCMConnectionManager connectionManager) Handles a given SCM command.voidCommandDispatcher.handle(SCMCommand<?> command) Dispatch the command to the correct handler.voidCommandHandler.handle(SCMCommand<?> command, OzoneContainer container, StateContext context, SCMConnectionManager connectionManager) Handles a given SCM command.voidCreatePipelineCommandHandler.handle(SCMCommand<?> command, OzoneContainer ozoneContainer, StateContext context, SCMConnectionManager connectionManager) Handles a given SCM command.voidDeleteBlocksCommandHandler.handle(SCMCommand<?> command, OzoneContainer container, StateContext context, SCMConnectionManager connectionManager) voidDeleteContainerCommandHandler.handle(SCMCommand<?> command, OzoneContainer ozoneContainer, StateContext context, SCMConnectionManager connectionManager) voidFinalizeNewLayoutVersionCommandHandler.handle(SCMCommand<?> command, OzoneContainer ozoneContainer, StateContext context, SCMConnectionManager connectionManager) Handles a given SCM command.voidReconcileContainerCommandHandler.handle(SCMCommand command, OzoneContainer container, StateContext context, SCMConnectionManager connectionManager) voidReconstructECContainersCommandHandler.handle(SCMCommand<?> command, OzoneContainer container, StateContext context, SCMConnectionManager connectionManager) voidRefreshVolumeUsageCommandHandler.handle(SCMCommand<?> command, OzoneContainer container, StateContext context, SCMConnectionManager connectionManager) voidReplicateContainerCommandHandler.handle(SCMCommand<?> command, OzoneContainer container, StateContext context, SCMConnectionManager connectionManager) voidSetNodeOperationalStateCommandHandler.handle(SCMCommand<?> command, OzoneContainer container, StateContext context, SCMConnectionManager connectionManager) Handles a given SCM command.default voidCommandHandler.updateCommandStatus(StateContext context, SCMCommand<?> command, Consumer<CommandStatus> cmdStatusUpdater, org.slf4j.Logger log) Default implementation for updating command status. -
Uses of SCMCommand in org.apache.hadoop.ozone.protocol
Methods in org.apache.hadoop.ozone.protocol that return types with arguments of type SCMCommandModifier and TypeMethodDescriptiondefault List<SCMCommand<?>> StorageContainerNodeProtocol.processHeartbeat(org.apache.hadoop.hdds.protocol.DatanodeDetails datanodeDetails) Send heartbeat to indicate the datanode is alive and doing well.List<SCMCommand<?>> StorageContainerNodeProtocol.processHeartbeat(org.apache.hadoop.hdds.protocol.DatanodeDetails datanodeDetails, org.apache.hadoop.hdds.protocol.proto.StorageContainerDatanodeProtocolProtos.CommandQueueReportProto queueReport) Send heartbeat to indicate the datanode is alive and doing well. -
Uses of SCMCommand in org.apache.hadoop.ozone.protocol.commands
Subclasses of SCMCommand in org.apache.hadoop.ozone.protocol.commandsModifier and TypeClassDescriptionclassAsks datanode to close a container.classAsks datanode to close a pipeline.classAsks datanode to create a pipeline.classA SCM command asks a datanode to delete a number of blocks.classSCM command which tells the datanode to delete a container.classAsks DataNode to Finalize new upgrade version.classAsks datanodes to reconcile the specified container with other container replicas.classSCM command to request reconstruction of EC containers.classAsks datanode to refresh disk usage info immediately.final classSCM command to request replication of a container.classInforms a datanode to register itself with SCM again.classA command used to persist the current node operational state on the datanode.Methods in org.apache.hadoop.ozone.protocol.commands that return SCMCommandConstructors in org.apache.hadoop.ozone.protocol.commands with parameters of type SCMCommandModifierConstructorDescriptionCommandForDatanode(org.apache.hadoop.hdds.protocol.DatanodeDetails datanode, SCMCommand<T> command) CommandForDatanode(org.apache.hadoop.hdds.protocol.DatanodeID datanodeId, SCMCommand<T> command)