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

Create a queue ordering policy which picks child queues with equal probability

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Ran some simulations with the default queue_utilization_ordering_policy:

      An underutilized queue which receives an application with many (thousands) resource requests will hog scheduler allocations for a long time (on the order of a minute). In the meantime apps are getting submitted to all other queues, which increases activeUsers in these queues, which drops user limit in these queues to small values if minimum-user-limit-percent is configured to small values (e.g. 10%).

      To avoid this issue, we assign to queues with equal probability, to avoid scenarios where queues don't get allocations for a long time.

        Attachments

        1. activeUsers_overlay.png
          92 kB
          Jonathan Hung
        2. YARN-9770.003.patch
          11 kB
          Jonathan Hung
        3. YARN-9770.002.patch
          11 kB
          Jonathan Hung
        4. YARN-9770.001.patch
          9 kB
          Jonathan Hung

          Activity

            People

            • Assignee:
              jhung Jonathan Hung
              Reporter:
              jhung Jonathan Hung
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: