[
https://issues.apache.org/jira/browse/MAPREDUCE-4842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13538141#comment-13538141
]
Mariappan Asokan commented on MAPREDUCE-4842:
---------------------------------------------
Hi Jason,
When the exceptions happen, the thread will terminate(there is a {{return}}
inside the {{catch}} blocks.) It is okay if {{numPending}} ends up being -1.
The method {{waitForMerge()}} will return immediately. From the point of view
of users of the class, there is no problem.
If you have any more questions, please let me know. Otherwise, I think the fix
is good.
-- Asokan
> 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