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 "Jian He (JIRA)" <ji...@apache.org> on 2017/11/14 00:57:02 UTC

[jira] [Updated] (YARN-7486) Race condition in service AM that can cause NPE

     [ https://issues.apache.org/jira/browse/YARN-7486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jian He updated YARN-7486:
--------------------------
    Description: 
1. container1 completed for instance1
2. instance1 is added to pending list
3. container2 allocated, and assigned to instance1, it records the container2 inside instance1
4. in the meantime, instance1 ContainerStoppedTransition is called and that set the container back to null. 
This cause the recorded container lost.

> Race condition in service AM that can cause NPE
> -----------------------------------------------
>
>                 Key: YARN-7486
>                 URL: https://issues.apache.org/jira/browse/YARN-7486
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Jian He
>
> 1. container1 completed for instance1
> 2. instance1 is added to pending list
> 3. container2 allocated, and assigned to instance1, it records the container2 inside instance1
> 4. in the meantime, instance1 ContainerStoppedTransition is called and that set the container back to null. 
> This cause the recorded container lost.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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