Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4471

Capacity Scheduler should maintain the right ordering of jobs in its running queue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.19.0
    • 0.19.0
    • None
    • None
    • Reviewed

    Description

      Currently, the Capacity Scheduler maintains a simple linked list of jobs which are running. This implies that running jobs are sorted by when they started running (i.e., when they were added to the queue). The Scheduler should maintain the same ordering among running jobs that it does for waiting jobs. Jobs should be sorted by priority (if the queue supports priorities) and by their submit time.

      This sorting would be more fair in deciding which running jobs get access to a free TT. It also does not penalize jobs that have a longer setup task, which affects when they enter the run queue.

      Attachments

        1. HADOOP-4471-v1.patch
          12 kB
          Amar Kamat

        Issue Links

          Activity

            People

              amar_kamat Amar Kamat
              vivekr Vivek Ratan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: