Interface BlockMovementListener


@Private @Evolving public interface BlockMovementListener
Interface for notifying about block movement attempt completion.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    notifyMovementTriedBlocks(org.apache.hadoop.hdfs.protocol.Block[] moveAttemptFinishedBlks)
    This method used to notify to the SPS about block movement attempt finished.
  • Method Details

    • notifyMovementTriedBlocks

      void notifyMovementTriedBlocks(org.apache.hadoop.hdfs.protocol.Block[] moveAttemptFinishedBlks)
      This method used to notify to the SPS about block movement attempt finished. Then SPS will re-check whether it needs retry or not.
      Parameters:
      moveAttemptFinishedBlks - -list of movement attempt finished blocks