Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2492 (Clone of YARN-796) Allow for (admin) labels on nodes and resource-requests
  3. YARN-2762

RMAdminCLI node-labels-related args should be trimmed and checked before sending to RM

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.7.0
    • resourcemanager
    • None
    • Reviewed

    Description

      All NodeLabel args validation's are done at server side. The same can be done at RMAdminCLI so that unnecessary RPC calls can be avoided.
      And for the input such as "x,y,,z,", no need to add empty string instead can be skipped.

      Attachments

        1. YARN-2762.patch
          5 kB
          Rohith Sharma K S
        2. YARN-2762.1.patch
          5 kB
          Rohith Sharma K S
        3. YARN-2762.2.patch
          5 kB
          Rohith Sharma K S
        4. YARN-2762.2.patch
          58 kB
          Rohith Sharma K S
        5. YARN-2762.3.patch
          5 kB
          Rohith Sharma K S
        6. YARN-2762.4.patch
          6 kB
          Rohith Sharma K S
        7. YARN-2762.5.patch
          6 kB
          Rohith Sharma K S
        8. YARN-2762.6.patch
          6 kB
          Rohith Sharma K S
        9. YARN-2762.7.patch
          7 kB
          Rohith Sharma K S

        Activity

          People

            rohithsharma Rohith Sharma K S
            rohithsharma Rohith Sharma K S
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: