You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Naganarasimha G R (JIRA)" <ji...@apache.org> on 2016/12/18 16:40:58 UTC
[jira] [Updated] (YARN-6008) Fetch container list for failed
application attempt
[ https://issues.apache.org/jira/browse/YARN-6008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Naganarasimha G R updated YARN-6008:
------------------------------------
Description:
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.
was:
When we run command "yarn container -list" on using failed application attempt we should either get containers from that attempt or get a black 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.
> 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
> Priority: Minor
>
> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org