| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.server.common.sps |
This package provides commonly used classes for the block movement.
|
| Modifier and Type | Method | Description |
|---|---|---|
BlockMovementStatus |
BlockMovementAttemptFinished.getStatus() |
|
BlockMovementStatus |
BlockDispatcher.moveBlock(BlockStorageMovementCommand.BlockMovingInfo blkMovingInfo,
org.apache.hadoop.hdfs.protocol.datatransfer.sasl.SaslDataTransferClient saslClient,
org.apache.hadoop.hdfs.protocol.ExtendedBlock eb,
java.net.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 BlockMovementStatus |
BlockMovementStatus.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static BlockMovementStatus[] |
BlockMovementStatus.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor | Description |
|---|---|
BlockMovementAttemptFinished(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.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.