| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.server.common.sps |
This package provides commonly used classes for the block movement.
|
| org.apache.hadoop.hdfs.server.namenode.sps |
This package provides a mechanism for satisfying the storage policy of a
path.
|
| org.apache.hadoop.hdfs.server.protocol | |
| org.apache.hadoop.hdfs.server.sps |
This package provides a mechanism for satisfying the storage policy of a
path.
|
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
BlockMoveTaskHandler.submitMoveTask(BlockStorageMovementCommand.BlockMovingInfo blkMovingInfo) |
This is an interface method to handle the move tasks.
|
void |
Context.submitMoveTask(BlockStorageMovementCommand.BlockMovingInfo blkMovingInfo) |
Handles the block move tasks.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Collection<BlockStorageMovementCommand.BlockMovingInfo> |
BlockStorageMovementCommand.getBlockMovingTasks() |
Returns the list of blocks to be moved.
|
| Constructor | Description |
|---|---|
BlockStorageMovementCommand(int action,
java.lang.String blockPoolId,
java.util.Collection<BlockStorageMovementCommand.BlockMovingInfo> blockMovingInfos) |
Block storage movement command constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
ExternalSPSBlockMoveTaskHandler.submitMoveTask(BlockStorageMovementCommand.BlockMovingInfo blkMovingInfo) |
|
void |
ExternalSPSContext.submitMoveTask(BlockStorageMovementCommand.BlockMovingInfo blkMovingInfo) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.