You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Vitaly (Commented) (JIRA)" <ji...@apache.org> on 2011/12/20 15:23:30 UTC

[jira] [Commented] (MAPREDUCE-1481) Streaming should swallow IOExceptions when closing clientOut

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

Vitaly commented on MAPREDUCE-1481:
-----------------------------------

"PipeMapRed.java.patch" - Tested, seems everything works ok, but anybody please review my patch. 
                
> Streaming should swallow IOExceptions when closing clientOut
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-1481
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1481
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/streaming
>    Affects Versions: 0.20.1, 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: PipeMapRed.java.patch, TestStreamingDontConsumeInput.java
>
>
> in PipeMapRed.mapRedFinished, streaming flushes and closes clientOut_, the handle to the subprocess's stdin. If the subprocess has already exited or closed its stdin, this will generate a Broken Pipe IOException. This causes us to skip waitOutputThreads, which is incorrect, since the subprocess may have data still written from stdout that needs to be read.

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