Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 3855 invoked from network); 11 Nov 2008 14:20:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Nov 2008 14:20:40 -0000 Received: (qmail 5570 invoked by uid 500); 11 Nov 2008 14:20:42 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 5512 invoked by uid 500); 11 Nov 2008 14:20:42 -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 5475 invoked by uid 99); 11 Nov 2008 14:20:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 06:20:42 -0800 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, 11 Nov 2008 14:19:31 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6756A234C293 for ; Tue, 11 Nov 2008 06:19:44 -0800 (PST) Message-ID: <352207366.1226413184422.JavaMail.jira@brutus> Date: Tue, 11 Nov 2008 06:19:44 -0800 (PST) From: "Alok Parlikar (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-4633) Streaming exits with zero-status in cases even on failure In-Reply-To: <1538096983.1226413184320.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-4633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alok Parlikar updated HADOOP-4633: ---------------------------------- Description: If a streaming job fails in the map/reduce phase, streaming exits with a non-zero status. However, if it fails before the map-reduce started (such as output path already exists), streaming still exits with a zero status. was: If a streaming job fails in the map/reduce phase, streaming exits with a non-zero status. However, if it fails before the map-reduce started (such as output path already exists), streaming still exits with a zero status. A probable fix to this might be in StreamJob.java: ------------------------------------------------------------------- 912c912 < --- > int jobExitCode = 0; 950c950 < return 1; --- > jobExitCode = 1; 957c957 < return 2; --- > jobExitCode = 2; 960c960 < return 3; --- > jobExitCode = 3; 964c964 < return 4; --- > jobExitCode = 4; 967c967 < return 5; --- > jobExitCode = 5; 975c975 < return 0; --- > return jobExitCode; ------------------------------------------------------------------- > Streaming exits with zero-status in cases even on failure > --------------------------------------------------------- > > Key: HADOOP-4633 > URL: https://issues.apache.org/jira/browse/HADOOP-4633 > Project: Hadoop Core > Issue Type: Bug > Components: contrib/streaming > Affects Versions: 0.18.2 > Environment: Linux > Reporter: Alok Parlikar > Original Estimate: 2h > Remaining Estimate: 2h > > If a streaming job fails in the map/reduce phase, streaming exits with a non-zero status. However, if it fails before the map-reduce started (such as output path already exists), streaming still exits with a zero status. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.