Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 93645 invoked from network); 21 Mar 2008 20:53:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Mar 2008 20:53:22 -0000 Received: (qmail 70394 invoked by uid 500); 21 Mar 2008 20:53:18 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 70372 invoked by uid 500); 21 Mar 2008 20:53:18 -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 70363 invoked by uid 99); 21 Mar 2008 20:53:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Mar 2008 13:53:18 -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; Fri, 21 Mar 2008 20:52:48 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B1581234C0A9 for ; Fri, 21 Mar 2008 13:51:24 -0700 (PDT) Message-ID: <1831171924.1206132684711.JavaMail.jira@brutus> Date: Fri, 21 Mar 2008 13:51:24 -0700 (PDT) From: "Yuri Pradkin (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Created: (HADOOP-3068) hadoop streaming tasks hang for when stream.non.zero.exit.is.failure==true and reduce processes exit with non zero status MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org hadoop streaming tasks hang for when stream.non.zero.exit.is.failure==true and reduce processes exit with non zero status ------------------------------------------------------------------------------------------------------------------------- Key: HADOOP-3068 URL: https://issues.apache.org/jira/browse/HADOOP-3068 Project: Hadoop Core Issue Type: Bug Components: contrib/streaming Environment: Java(TM) SE Runtime Environment (build 1.6.0_04-b12); Hadoop version 0.17.0-dev, r639662 Reporter: Yuri Pradkin Fix For: 0.17.0 When I set *stream.non.zero.exit.is.failure* to true and run a streaming job with reducers that exit with a non-zero status, those tasks fail apparently waiting for something. ... 2008-03-21 13:33:53,715 INFO org.apache.hadoop.streaming.PipeMapRed: R/W/S=65501/1/0 in:334=65501/196 [rec/s] out:0=1/196 [rec/s] 2008-03-21 13:33:53,719 INFO org.apache.hadoop.streaming.PipeMapRed: mapRedFinished 2008-03-21 13:34:11,228 INFO org.apache.hadoop.streaming.PipeMapRed: Records R/W=65536/2 2008-03-21 13:34:11,235 INFO org.apache.hadoop.streaming.PipeMapRed: PipeMapRed.waitOutputThreads(): subprocess exitted with code 1 2008-03-21 13:34:11,235 INFO org.apache.hadoop.streaming.PipeMapRed: MRErrorThread done 2008-03-21 13:34:11,238 INFO org.apache.hadoop.streaming.PipeMapRed: MROutputThread done 2008-03-21 13:34:11,245 WARN org.apache.hadoop.mapred.TaskTracker: Error running child java.lang.RuntimeException: PipeMapRed.waitOutputThreads(): subprocess failed with code 1 at org.apache.hadoop.streaming.PipeMapRed.waitOutputThreads(PipeMapRed.java:331) at org.apache.hadoop.streaming.PipeMapRed.mapRedFinished(PipeMapRed.java:475) at org.apache.hadoop.streaming.PipeReducer.close(PipeReducer.java:110) at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:399) at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2113) After that the task still shows up with status:Running, but it just hangs there and when/if all tasks get into this state, the whole cluster hangs. BTW, may I suggest that we make *stream.non.zero.exit.is.failure* default to true after this is fixed? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.