[
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: [email protected]
For additional commands, e-mail: [email protected]