Interface BlockMoveTaskHandler
- All Known Implementing Classes:
ExternalSPSBlockMoveTaskHandler
@Private
@Evolving
public interface BlockMoveTaskHandler
Interface for implementing different ways of block moving approaches. One can
connect directly to DN and request block move, and other can talk NN to
schedule via heart-beats.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsubmitMoveTask(BlockStorageMovementCommand.BlockMovingInfo blkMovingInfo) This is an interface method to handle the move tasks.
-
Method Details
-
submitMoveTask
This is an interface method to handle the move tasks. BlockMovingInfo must contain the required info to move the block, that source location, destination location and storage types.- Throws:
IOException
-