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

Support reservations continue looking for Node Labels

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.2, 2.10.1, 3.4.0, 3.3.1
    • 3.2.2, 2.10.1, 3.4.0, 3.3.1
    • capacity scheduler
    • None

    Description

      YARN-1769 brought in reservations continue looking feature which improves the several resource reservation scenarios. However, it is not handled currently when nodes have a label assigned to them. This is useful and in many cases necessary even for Node Labels. So we should look to support this for node labels also.

      For example, in AbstractCSQueue.java, we have the below TODO.

      // TODO, now only consider reservation cases when the node has no label 
      if (this.reservationsContinueLooking && nodePartition.equals( RMNodeLabelsManager.NO_LABEL) && Resources.greaterThan( resourceCalculator, clusterResource, resourceCouldBeUnreserved, Resources.none())) {
      

      cc sunilg

      Attachments

        1. YARN-9903-branch-3.2.001.patch
          19 kB
          Jim Brennan
        2. YARN-9903.004.patch
          20 kB
          Jim Brennan
        3. YARN-9903.003.patch
          20 kB
          Jim Brennan
        4. YARN-9903.002.patch
          6 kB
          Jim Brennan
        5. YARN-9903.001.patch
          6 kB
          Jim Brennan

        Issue Links

          Activity

            People

              jbrennan Jim Brennan
              tarunparimi Tarun Parimi
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: