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

Jason Lowe commented on YARN-4839:
----------------------------------

This appears to have been fixed as a side-effect of YARN-3361 which wasn't in 
the build that reproduced this issue.  That change updated getMasterContainer 
to avoid locking the RMAppAttemptImpl.

> ResourceManager deadlock between RMAppAttemptImpl and 
> SchedulerApplicationAttempt
> ---------------------------------------------------------------------------------
>
>                 Key: YARN-4839
>                 URL: https://issues.apache.org/jira/browse/YARN-4839
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.8.0
>            Reporter: Jason Lowe
>            Priority: Blocker
>
> Hit a deadlock in the ResourceManager as one thread was holding the 
> SchedulerApplicationAttempt lock and trying to call 
> RMAppAttemptImpl.getMasterContainer while another thread had the 
> RMAppAttemptImpl lock and was trying to call 
> SchedulerApplicationAttempt.getResourceUsageReport.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to