hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajith S (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6048) YarnClient API call that is supposed to return containers of a previous attempt returns containers of the current application attempt
Date Tue, 03 Jan 2017 11:17:58 GMT

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

Ajith S commented on YARN-6048:
-------------------------------

Hi [~sunilg] and [~davidyan]
Would like to work on this, can assign this to me.?

> YarnClient API call that is supposed to return containers of a previous attempt returns
containers of the current application attempt 
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-6048
>                 URL: https://issues.apache.org/jira/browse/YARN-6048
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: timelineserver, yarn
>    Affects Versions: 2.7.3
>         Environment: Ubuntu 16.10, Hadoop 2.7.3, Java 1.8
>            Reporter: David Yan
>
> I have enabled the timeline server.
> Sample code:
> {code}
> YarnClient yarnClient;
> ...
> List<ContainerReport> containerReports = yarnClient.getContainers(somePreviousAttemptId);
> {code}
> YarnClient.getContainers(ApplicationAttemptId) returns the containers of the *current*
attempt instead of the given attempt. This is true up until the application is actually terminated.
After the application is terminated, the call returns the correct container 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


Mime
View raw message