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

Sunil G commented on YARN-6008:
-------------------------------

Thanks [~davidyan]

[~ajithshetty] as mentioned 
[here|https://issues.apache.org/jira/browse/YARN-6008?focusedCommentId=15811143&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15811143],
 we were planning to show only those containers of a given attempt. Which means 
that, some containers may be in RM and some may be in Timeline as well. Pls 
share your thoughts.

> Fetch container list for failed application attempt
> ---------------------------------------------------
>
>                 Key: YARN-6008
>                 URL: https://issues.apache.org/jira/browse/YARN-6008
>             Project: Hadoop YARN
>          Issue Type: Bug
>         Environment: hadoop version 2.6
>            Reporter: Priyanka Gugale
>            Assignee: Ajith S
>
> When we run command "yarn container -list" on using failed application 
> attempt we should either get containers from that attempt or get a back list 
> as containers are no longer in running state.
> Steps to reproduce:
> 1. Launch a yarn application. 
> 2. Kill app master, it tries to restart application with new attempt id. 
> 3. Now run yarn command,
> yarn container -list <Application Attempt ID>
> Where Application Attempt ID is of failed attempt, 
> it lists the container from next attempt which is in "RUNNING" state right 
> now.
> Expected behavior:
> It should return list of killed containers from attempt 1 or empty list.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to