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

In fair scheduler, Queue should not been assigned more containers when its usedResource had reach the maxResource limit

    Details

      Description

      In fair scheduler, FSParentQueue and FSLeafQueue do an assignContainerPreCheck to guaranty this queue is not over its limit.
      But the fitsIn function in Resource.java did not return false when the usedResource equals the maxResource.

      I think we should create a new Function "fitsInWithoutEqual" instead of "fitsIn" in this case.

        Attachments

        1. YARN-2083-4.patch
          8 kB
          Yi Tian
        2. YARN-2083-3.patch
          8 kB
          Yi Tian
        3. YARN-2083-2.patch
          8 kB
          Yi Tian
        4. YARN-2083-1.patch
          6 kB
          Yi Tian
        5. YARN-2083.patch
          5 kB
          Yi Tian

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tianyi Yi Tian
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated: