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

Priyo Mustafi commented on MAPREDUCE-1825:
------------------------------------------

This is what appears to be happening.  JIB.initTasks() locks JIB.   
FairScheduler.assignTasks() has locked JT and FS and is waiting to lock JIB.   
Finally FairSchedulerServlet.showPools() is waiting to lock FS and is blocked.  

Now the current case may have been aggravated because I had a breakpoint on 
initTasks() but on a busy cluster, assignTasks() must be happening extremely 
often so there is a very high probability that assignTasks() will block on 
initTasks() and thereby causing FSS to block as well.

Your thoughts?

> jobqueue_details.jsp and FairSchedulerServelet should not call finishedMaps 
> and finishedReduces when job is not initialized
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1825
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1825
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.20.1
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Scott Chen
>             Fix For: 0.22.0
>
>         Attachments: jstacks.zip, MAPREDUCE-1825.txt, MAPREDUCE-1825_1.txt, 
> MAPREDUCE-1825_2.txt
>
>
> JobInProgress.finishedMaps() and finishedReduces() are synchronized. They are 
> called from jobqueue_details.jsp and FairSchedulerServelet which iterates 
> through all jobs. If any job is in initialization, these pages don't come up 
> until the initialization finishes.
> See 
> [comment|https://issues.apache.org/jira/browse/MAPREDUCE-1354?focusedCommentId=12834139&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12834139]
>  for more details

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to