Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-321 [Umbrella] Generic application history service
  3. YARN-1787

yarn applicationattempt/container print wrong usage information

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0
    • None
    • None
    • Reviewed

    Description

      yarn applicationattempt prints:

      Invalid Command Usage : 
      usage: application
       -appStates <States>             Works with -list to filter applications
                                       based on input comma-separated list of
                                       application states. The valid application
                                       state can be one of the following:
                                       ALL,NEW,NEW_SAVING,SUBMITTED,ACCEPTED,RUN
                                       NING,FINISHED,FAILED,KILLED
       -appTypes <Types>               Works with -list to filter applications
                                       based on input comma-separated list of
                                       application types.
       -help                           Displays help for all commands.
       -kill <Application ID>          Kills the application.
       -list <arg>                     List application attempts for aplication
                                       from AHS.
       -movetoqueue <Application ID>   Moves the application to a different
                                       queue.
       -queue <Queue Name>             Works with the movetoqueue command to
                                       specify which queue to move an
                                       application to.
       -status <Application ID>        Prints the status of the application.
      

      yarn container prints:

      Invalid Command Usage : 
      usage: application
       -appStates <States>             Works with -list to filter applications
                                       based on input comma-separated list of
                                       application states. The valid application
                                       state can be one of the following:
                                       ALL,NEW,NEW_SAVING,SUBMITTED,ACCEPTED,RUN
                                       NING,FINISHED,FAILED,KILLED
       -appTypes <Types>               Works with -list to filter applications
                                       based on input comma-separated list of
                                       application types.
       -help                           Displays help for all commands.
       -kill <Application ID>          Kills the application.
       -list <arg>                     List application attempts for aplication
                                       from AHS.
       -movetoqueue <Application ID>   Moves the application to a different
                                       queue.
       -queue <Queue Name>             Works with the movetoqueue command to
                                       specify which queue to move an
                                       application to.
       -status <Application ID>        Prints the status of the application.
      

      Both commands print irrelevant yarn application usage information.

      Attachments

        1. YARN-1787.1.patch
          25 kB
          Zhijie Shen
        2. ApplicationCLI.java.rej
          2 kB
          Tsuyoshi Ozawa
        3. YARN-1787.2.patch
          25 kB
          Zhijie Shen

        Activity

          People

            zjshen Zhijie Shen
            zjshen Zhijie Shen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: