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

    XMLWordPrintableJSON

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.patch
          5 kB
          Tianyi Wang
        2. YARN-2083-1.patch
          6 kB
          Tianyi Wang
        3. YARN-2083-2.patch
          8 kB
          Tianyi Wang
        4. YARN-2083-3.patch
          8 kB
          Tianyi Wang
        5. YARN-2083-4.patch
          8 kB
          Tianyi Wang

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tianyi Tianyi Wang
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: