Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7812 Improvements to Rich Placement Constraints in YARN
  3. YARN-8195

Fix constraint cardinality check in the presence of multiple target allocation tags

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 3.2.0, 3.1.1
    • None
    • None

    Description

      While testing PC with multiple allocation tags, I found the behavior is not working as expected. To demonstrate this issue, imagine we have following PC

      X=1, notin,node, A, B
      

      this is to ask for a placement on a node that has no A or B.

      now assume we have A, B tags on a node with following numbers of allocations,

      A(0), B(1)
      

      expectation, as B has 1 allocation on this node, this node should not satisfy the PC. However in actual, it passes the check.

      Attachments

        1. YARN-8195.002.patch
          7 kB
          Weiwei Yang
        2. YARN-8195.001.patch
          7 kB
          Weiwei Yang

        Activity

          People

            cheersyang Weiwei Yang
            cheersyang Weiwei Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: