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

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

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

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • 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-1126-002.patch
          8 kB
          Wei Yan
        2. YARN-1126-003.patch
          8 kB
          Wei Yan
        3. YARN-1126-004.patch
          8 kB
          Wei Yan
        4. YARN-1126-005.patch
          9 kB
          Wei Yan
        5. YARN-905-addendum.patch
          8 kB
          Arun Murthy

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment