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 "sandflee (JIRA)" <ji...@apache.org> on 2015/08/02 10:29:05 UTC

[jira] [Commented] (YARN-4005) Completed container whose app is finished is not removed from NMStateStore

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

sandflee commented on YARN-4005:
--------------------------------

seems there's no need to add to recentlyStoppedContainers, we could just remove container info from NMStateStore if app is finished.

> Completed container whose app is finished is not removed from NMStateStore
> --------------------------------------------------------------------------
>
>                 Key: YARN-4005
>                 URL: https://issues.apache.org/jira/browse/YARN-4005
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Jun Gong
>            Assignee: Jun Gong
>         Attachments: YARN-4005.01.patch
>
>
> If a container is completed and its corresponding app is finished, NM only removes it from its context and does not add it to 'recentlyStoppedContainers' when calling 'getContainerStatuses'. Then NM will not remove it from NMStateStore.



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