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

Support reservations continue looking for Node Labels

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.2, 2.10.1, 3.4.0, 3.3.1, 3.1.5
    • Component/s: None
    • Labels:
      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 Sunil G

        Attachments

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

        Issue Links

          Activity

            People

            • Assignee:
              Jim_Brennan Jim Brennan
              Reporter:
              tarunparimi Tarun Parimi

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment