Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2492 (Clone of YARN-796) Allow for (admin) labels on nodes and resource-requests
  3. YARN-5342

Improve non-exclusive node partition resource allocation in Capacity Scheduler

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • Reviewed

    Description

      In the previous implementation, one non-exclusive container allocation is possible when the missed-opportunity >= #cluster-nodes. And missed-opportunity will be reset when container allocated to any node.

      This will slow down the frequency of container allocation on non-exclusive node partition: When a non-exclusive partition=x has idle resource, we can only allocate one container for this app in every X=nodemanagers.heartbeat-interval secs for the whole cluster.

      In this JIRA, I propose a fix to reset missed-opporunity only if we have >0 pending resource for the non-exclusive partition OR we get allocation from the default partition.

      Attachments

        1. YARN-5342.1.patch
          8 kB
          Wangda Tan
        2. YARN-5342.2.patch
          9 kB
          Sunil G
        3. YARN-5342.3.patch
          7 kB
          Sunil G
        4. YARN-5342.4.patch
          7 kB
          Sunil G
        5. YARN-5342-branch-2.8.001.patch
          7 kB
          Sunil G

        Issue Links

          Activity

            People

              sunilg Sunil G
              leftnoteasy Wangda Tan
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: