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

Karthik Kambatla commented on MAPREDUCE-4488:
---------------------------------------------

As the stack trace shows, the deadlock is because of the following:

- {{JobInProgress#jobComplete()}} (while holding {{JobInProgress}} lock) is 
blocked on the {{JobTracker}} lock via the call to synchronized method 
{{JobTracker#getClusterStatus()}}
- {{FairScheduler}} (while holding the {{JobTracker}} lock by calling 
{{synchronized heartbeat()}}) tries to acquire the {{JobInProgress}} lock via 
the call to the synchronized method {{JobInProgress#runningMaps()}}
                
> Port MAPREDUCE-463 (The job setup and cleanup tasks should be optional) to 
> branch-1
> -----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4488
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4488
>             Project: Hadoop Map/Reduce
>          Issue Type: New Feature
>          Components: mrv1, performance
>    Affects Versions: 1.0.3
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: MAPREDUCE-4488.patch
>
>


--
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