eubnara commented on PR #8691:
URL: https://github.com/apache/hadoop/pull/8691#issuecomment-5433186785

   @slfan1989 @cnauroth Could you take a look when you have a chance?
   
   This continues #7893 (YARN-11856): when a container is killed while 
localizing, dispatching ContainerResourceFailedEvent can throw 
(InterruptedException from the dispatcher), which escapes LocalizerRunner 
before the DOWNLOADING resources are unlocked/cleaned up, leaving other 
containers waiting on the same private resource stuck in LOCALIZING. This PR 
catches the dispatch failure (restoring the interrupt flag) so the cleanup 
always runs, plus a test reproducing the kill-during-localization case.
   
   Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to