Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 53506 invoked from network); 25 Mar 2008 14:51:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Mar 2008 14:51:32 -0000 Received: (qmail 73528 invoked by uid 500); 25 Mar 2008 14:51:30 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 73502 invoked by uid 500); 25 Mar 2008 14:51:30 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 73493 invoked by uid 99); 25 Mar 2008 14:51:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Mar 2008 07:51:30 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Mar 2008 14:50:59 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CA552234C0AF for ; Tue, 25 Mar 2008 07:49:25 -0700 (PDT) Message-ID: <604990250.1206456565827.JavaMail.jira@brutus> Date: Tue, 25 Mar 2008 07:49:25 -0700 (PDT) From: "Rick Cox (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Created: (HADOOP-3089) streaming should accept stderr from task before first key arrives MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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.16.1, 0.16.0, 0.15.3, 0.15.2, 0.15.1, 0.15.0, 0.14.4, 0.14.3, 0.14.2, 0.14.1, 0.14.0 Reporter: Rick Cox Assignee: Rick Cox Fix For: 0.17.0 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.