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

Add validation of users input nodes-states options to nodes CLI

    Details

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

      Description

      Follow the discussion in YARN-905.

      (1) case-insensitive checks for "all".
      (2) validation of users input, exit with non-zero code and print all valid states when user gives an invalid state.

        Attachments

        1. YARN-905-addendum.patch
          8 kB
          Arun C Murthy
        2. YARN-1126-002.patch
          8 kB
          Wei Yan
        3. YARN-1126-003.patch
          8 kB
          Wei Yan
        4. YARN-1126-004.patch
          8 kB
          Wei Yan
        5. YARN-1126-005.patch
          9 kB
          Wei Yan

          Issue Links

            Activity

              People

              • Assignee:
                ywskycn Wei Yan
                Reporter:
                ywskycn Wei Yan
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: