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

Omkar Vinit Joshi commented on YARN-688:
----------------------------------------

bq. +          nodeStatusUpdater.getNodeStatusAndUpdateContainersInContext();
why is this required?

you might need to rebase patch based on YARN-617

testNodeStatusUpdaterRetryAndNMShutdown - startContainer code might change 
after above patch.


                
> Containers not cleaned up when NM received SHUTDOWN event from 
> NodeStatusUpdater
> --------------------------------------------------------------------------------
>
>                 Key: YARN-688
>                 URL: https://issues.apache.org/jira/browse/YARN-688
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Jian He
>            Assignee: Jian He
>         Attachments: YARN-688.1.patch
>
>
> Currently, both SHUTDOWN event from nodeStatusUpdater and CleanupContainers 
> event happens to be on the same dispatcher thread, CleanupContainers Event 
> will not be processed until SHUTDOWN event is processed. see similar problem 
> on YARN-495.
> On normal NM shutdown, this is not a problem since normal stop happens on 
> shutdownHook thread.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to