Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-4066

Large number of queues choke fair scheduler

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.1
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: fairscheduler
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Flags:
      Patch

      Description

      Due to synchronization and all the loops performed during queue creation, setting a large amount of queues (12000+) will completely choke the scheduler. To deal with this some optimization to "QueueManager.updateAllocationConfiguration(AllocationConfiguration queueConf)" should be done to reduce the amount of unnesecary loops. The attached patch have been tested to work with atleast 96000 queues.

        Attachments

        1. yarn-4066-1.patch
          4 kB
          Johan Gustavsson
        2. YARN-4066-2.patch
          4 kB
          Johan Gustavsson
        3. YARN-4066-3.patch
          5 kB
          Johan Gustavsson

          Activity

            People

            • Assignee:
              johang Johan Gustavsson
              Reporter:
              johang Johan Gustavsson
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: