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

Jason Lowe commented on MAPREDUCE-4842:
---------------------------------------

This still isn't quite right.  If an exception occurs during the merge, 
numPending will be set to 0 and then decremented to -1 by the finally block.  
If we're going to explicitly set the value to 0 for exceptions then we 
shouldn't be decrementing in the finally block.  Instead we can decrement in 
the try block after the merge completes.
                
> Shuffle race can hang reducer
> -----------------------------
>
>                 Key: MAPREDUCE-4842
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4842
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 2.0.2-alpha, 0.23.5
>            Reporter: Jason Lowe
>            Assignee: Mariappan Asokan
>            Priority: Blocker
>         Attachments: MAPREDUCE-4842-2.patch, mapreduce-4842.patch, 
> mapreduce-4842.patch, mapreduce-4842.patch, mapreduce-4842.patch, 
> mapreduce-4842.patch, mapreduce-4842.patch, MAPREDUCE-4842.patch, 
> MAPREDUCE-4842.patch, MAPREDUCE-4842.patch, MAPREDUCE-4842.patch
>
>
> Saw an instance where the shuffle caused multiple reducers in a job to hang.  
> It looked similar to the problem described in MAPREDUCE-3721, where the 
> fetchers were all being told to WAIT by the MergeManager but no merge was 
> taking place.

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