Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7197 Enhancements to Mover
  3. HDFS-7461

Reduce impact of laggards on Mover

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 2.6.0
    • None
    • balancer & mover
    • None

    Description

      The current Mover logic is as follows :

       for (Path target : targetPaths) {
              hasRemaining |= processPath(target.toUri().getPath());
            }
      // wait for pending move to finish and retry the failed migration
      hasRemaining |= Dispatcher.waitForMoveCompletion(storages.targets.values());
      

      The processPath will schedule moves, but it is bounded by the number of concurrent moves (default is 5 per node} . Once block moves are scheduled, it will wait for ALL scheduled moves to finish in waitForMoveCompletion.
      One slow move could keep the Mover idle for a long time.

      It will be a performance improvement to schedule the next moves as soon as any (source , target) slot is available instead of waiting for all the scheduled moves to finish.

      Attachments

        1. continuousmovement.pdf
          48 kB
          Benoy Antony

        Activity

          People

            benoyantony Benoy Antony
            benoyantony Benoy Antony
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: