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 "Siqi Li (JIRA)" <ji...@apache.org> on 2016/03/16 19:37:33 UTC
[jira] [Commented] (YARN-4831) Recovered containers will be killed
after NM stateful restart
[ https://issues.apache.org/jira/browse/YARN-4831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15197895#comment-15197895 ]
Siqi Li commented on YARN-4831:
-------------------------------
When NM does a stateful restart, the ContainerManagerImpl will try to recover applications, and containers, and then send out ApplicationFinishEvent to apps that in appsState.getFinishedApplications().
The ApplicationFinishEvent could result in newly recovered containers to transit from NEW to DONE with a KillOnNewTransition.
We could add an additional check in KillOnNewTransition to avoid killing completed containers.
> Recovered containers will be killed after NM stateful restart
> --------------------------------------------------------------
>
> Key: YARN-4831
> URL: https://issues.apache.org/jira/browse/YARN-4831
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Siqi Li
>
> {code}
> 2016-03-04 19:43:48,130 INFO org.apache.hadoop.yarn.server.nodemanager.containermanager.container.Container: Container container_1456335621285_0040_01_000066 transitioned from NEW to DONE
> 2016-03-04 19:43:48,130 INFO org.apache.hadoop.yarn.server.nodemanager.NMAuditLogger: USER=henkins-service OPERATION=Container Finished - Killed TARGET=ContainerImpl RESULT=SUCCESS APPID=application_1456335621285_0040
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)