Rohith commented on YARN-2917:

Kindly review the attached patch.  I have manually verified problematic 
scenario as I mentioned in my [previous 
 by deploying in 1 node cluster. It is able to shutdown gracefully calling 

Not related to this jira : I observed that ResourceManager#rmDispatcher does 
not drain ,is it bug?

> Potential deadlock in AsyncDispatcher when system.exit called in 
> AsyncDispatcher#dispatch and AsyscDispatcher#serviceStop from shutdown hook
> --------------------------------------------------------------------------------------------------------------------------------------------
>                 Key: YARN-2917
>                 URL: https://issues.apache.org/jira/browse/YARN-2917
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>            Reporter: Rohith
>            Assignee: Rohith
>            Priority: Critical
>         Attachments: 0001-YARN-2917.patch, 0002-YARN-2917.patch
> I encoutered scenario where RM hanged while shutting down and keep on logging 
> {{2014-12-03 19:32:44,283 INFO org.apache.hadoop.yarn.event.AsyncDispatcher: 
> Waiting for AsyncDispatcher to drain.}}

This message was sent by Atlassian JIRA

Reply via email to