[ 
https://issues.apache.org/jira/browse/YARN-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14027284#comment-14027284
 ] 

Tassapol Athiapinya commented on YARN-1621:
-------------------------------------------

yarnapplicationattempt lists only AM attempts so this is different command.

> Add CLI to list states of yarn container-IDs/hosts
> --------------------------------------------------
>
>                 Key: YARN-1621
>                 URL: https://issues.apache.org/jira/browse/YARN-1621
>             Project: Hadoop YARN
>          Issue Type: Improvement
>    Affects Versions: 2.2.0
>            Reporter: Tassapol Athiapinya
>             Fix For: 2.5.0
>
>
> As more applications are moved to YARN, we need generic CLI to list states of 
> yarn containers and their hosts. Today if YARN application running in a 
> container does hang, there is no way other than to manually kill its process.
> For each running application, it is useful to differentiate between 
> running/succeeded/failed/killed containers. 
> {code:title=proposed yarn cli}
> $ yarn application -list-containers <appId> <status>
> where <status> is one of running/succeeded/killed/failed/all
> {code}



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

Reply via email to