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

Should check if node exists when replace nodelabels

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Today when we add nodelabels to nodes, it would succeed even if nodes are not existing NodeManger in cluster without any message.
      It could be like this:
      When we use yarn rmadmin -replaceLabelsOnNode --fail-on-unkown-nodes "node1=label1" , it would be denied if node is unknown.

        Attachments

        1. YARN-4855.001.patch
          13 kB
          Tao Jie
        2. YARN-4855.002.patch
          14 kB
          Tao Jie
        3. YARN-4855.003.patch
          14 kB
          Tao Jie
        4. YARN-4855.004.patch
          14 kB
          Tao Jie
        5. YARN-4855.005.patch
          14 kB
          Tao Jie
        6. YARN-4855.006.patch
          15 kB
          Tao Jie
        7. YARN-4855.007.patch
          15 kB
          Tao Jie
        8. YARN-4855.008.patch
          15 kB
          Naganarasimha G R
        9. YARN-4855.009.patch
          15 kB
          Tao Jie
        10. YARN-4855.010.patch
          17 kB
          Tao Jie
        11. YARN-4855.011.patch
          18 kB
          Tao Jie
        12. YARN-4855.012.patch
          18 kB
          Tao Jie
        13. YARN-4855.013.patch
          18 kB
          Tao Jie
        14. YARN-4855-branch-2.8.patch
          18 kB
          Tao Jie

          Issue Links

            Activity

              People

              • Assignee:
                Tao Jie Tao Jie
                Reporter:
                Tao Jie Tao Jie
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: