[ https://issues.apache.org/jira/browse/MAPREDUCE-4136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wouter de Bie updated MAPREDUCE-4136: ------------------------------------- Description: 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. was: 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. We're working on a patch. > 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