[ https://issues.apache.org/jira/browse/MAPREDUCE-4136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13251853#comment-13251853 ]
Robert Joseph Evans commented on MAPREDUCE-4136: ------------------------------------------------ A similar fix was already done for MAPREDUCE-3790. I don't really know if this is the same fix or not, but the patch only went into trunk, and branch-0.23/branch-2. So it might be worth looking at to see if there is some overlap between the two. > Hadoop streaming might succeed even through reducer fails > --------------------------------------------------------- > > Key: MAPREDUCE-4136 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4136 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: contrib/streaming > Affects Versions: 0.20.205.0 > Reporter: Wouter de Bie > Attachments: mapreduce-4136.patch > > > Hadoop streaming can even succeed even though the reducer has failed. This > happens when Hadoop calls {{PipeReducer.close()}}, but in the mean time the > reducer has failed and the process has died. When {{clientOut_.flush()}} > throws an {{IOException}} in {{PipeMapRed.mapRedFinish()}} this exception is > caught but only logged. The exit status of the child process is never checked > and task is marked as successful. > I've attached a patch that seems to fix it for us. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira