hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-3089) streaming should accept stderr from task before first key arrives
Date Fri, 04 Apr 2008 10:49:27 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-3089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tom White updated HADOOP-3089:
------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

I've just committed this. Thanks Rick!

> streaming should accept stderr from task before first key arrives
> -----------------------------------------------------------------
>
>                 Key: HADOOP-3089
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3089
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/streaming
>    Affects Versions: 0.14.0, 0.14.1, 0.14.2, 0.14.3, 0.14.4, 0.15.0, 0.15.1, 0.15.2,
0.15.3, 0.16.0, 0.16.1
>            Reporter: Rick Cox
>            Assignee: Rick Cox
>             Fix For: 0.17.0
>
>         Attachments: patch-stderr-3089-2.txt, patch-stderr-3089.txt
>
>
> Stderr output from a streaming task is not collected until the {{MRErrorThread}} is started
by {{PipeMapRed.startOutputThreads()}}, which is done on the first call to {{map()}} or {{reduce()}}.
> This makes it difficult to debug failures in starting up the task process. It can also
lead to deadlock when a task receives no input keys but produces significant stderr output:
the process will block on writing to stderr, while streaming will block waiting for the process
to exit.
> We should start the {{MRErrorThread}} when the process is forked, and then add the {{reporter}}
later to enable stderr output serve as a keep-alive.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message