Uses of Enum Class
org.apache.hadoop.hdfs.server.common.sps.BlockMovementStatus
Packages that use BlockMovementStatus
Package
Description
This package provides commonly used classes for the block movement.
-
Uses of BlockMovementStatus in org.apache.hadoop.hdfs.server.common.sps
Methods in org.apache.hadoop.hdfs.server.common.sps that return BlockMovementStatusModifier and TypeMethodDescriptionBlockMovementAttemptFinished.getStatus()BlockDispatcher.moveBlock(BlockStorageMovementCommand.BlockMovingInfo blkMovingInfo, org.apache.hadoop.hdfs.protocol.datatransfer.sasl.SaslDataTransferClient saslClient, org.apache.hadoop.hdfs.protocol.ExtendedBlock eb, Socket sock, org.apache.hadoop.hdfs.protocol.datatransfer.sasl.DataEncryptionKeyFactory km, org.apache.hadoop.security.token.Token<org.apache.hadoop.hdfs.security.token.block.BlockTokenIdentifier> accessToken) Moves the given block replica to the given target node and wait for the response.static BlockMovementStatusReturns the enum constant of this class with the specified name.static BlockMovementStatus[]BlockMovementStatus.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in org.apache.hadoop.hdfs.server.common.sps with parameters of type BlockMovementStatusModifierConstructorDescriptionBlockMovementAttemptFinished(org.apache.hadoop.hdfs.protocol.Block block, org.apache.hadoop.hdfs.protocol.DatanodeInfo src, org.apache.hadoop.hdfs.protocol.DatanodeInfo target, org.apache.hadoop.fs.StorageType targetType, BlockMovementStatus status) Construct movement attempt finished info.