Class BlockStorageMovementCommand


public class BlockStorageMovementCommand extends DatanodeCommand
A BlockStorageMovementCommand is an instruction to a DataNode to move the given set of blocks to specified target DataNodes to fulfill the block storage policy. Upon receiving this command, this DataNode pass the array of block movement details to ExternalSPSBlockMoveTaskHandler service. Later, ExternalSPSBlockMoveTaskHandler will schedule block movement tasks for these blocks and monitors the completion of each task. After the block movement attempt is finished(with success or failure) this DataNode will send response back to NameNode about the block movement attempt finished details.