hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhijie Shen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-1787) yarn applicationattempt/container print wrong usage information
Date Wed, 05 Mar 2014 23:48:42 GMT

     [ https://issues.apache.org/jira/browse/YARN-1787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Zhijie Shen updated YARN-1787:
------------------------------

    Attachment: YARN-1787.1.patch

Fix the usage message and add corresponding test case. After the patch,
yarn applicationattempt usage info will be:
{code}
usage: applicationattempt
 -help                              Displays help for all commands.
 -list <Application ID>             List application attempts for
                                    aplication.
 -status <Application Attempt ID>   Prints the status of the application
                                    attempt.
{code}
and yarn container usage info will be:
{code}
usage: container
 -help                            Displays help for all commands.
 -list <Application Attempt ID>   List containers for application attempt.
 -status <Container ID>           Prints the status of the container.
{code}


> yarn applicationattempt/container print wrong usage information
> ---------------------------------------------------------------
>
>                 Key: YARN-1787
>                 URL: https://issues.apache.org/jira/browse/YARN-1787
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Zhijie Shen
>            Assignee: Zhijie Shen
>         Attachments: YARN-1787.1.patch
>
>
> yarn applicationattempt prints:
> {code}
> 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.
> {code}
> yarn container prints:
> {code}
> 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.
> {code}
> Both commands print irrelevant yarn application usage information.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message