Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 67547 invoked from network); 17 Apr 2008 05:12:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Apr 2008 05:12:37 -0000 Received: (qmail 25971 invoked by uid 500); 17 Apr 2008 05:12:32 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 25937 invoked by uid 500); 17 Apr 2008 05:12:32 -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 25926 invoked by uid 99); 17 Apr 2008 05:12:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Apr 2008 22:12:32 -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; Thu, 17 Apr 2008 05:11:57 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 93AB5234C0D7 for ; Wed, 16 Apr 2008 22:09:24 -0700 (PDT) Message-ID: <1977835134.1208408964584.JavaMail.jira@brutus> Date: Wed, 16 Apr 2008 22:09:24 -0700 (PDT) From: "Hemanth Yamijala (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-2796) For script option hod should exit with distinguishable exit codes for script code and hod exit code. In-Reply-To: <11804771.1202390048200.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-2796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hemanth Yamijala updated HADOOP-2796: ------------------------------------- Release Note: A provision to reliably detect a failing script's exit code was added. In case the hod script option returned a non-zero exit code, users can now look for a 'script.exitcode' file written to the HOD cluster directory. If this file is present, it means the script failed with the returned exit code. Hadoop Flags: [Reviewed] > For script option hod should exit with distinguishable exit codes for script code and hod exit code. > ---------------------------------------------------------------------------------------------------- > > Key: HADOOP-2796 > URL: https://issues.apache.org/jira/browse/HADOOP-2796 > Project: Hadoop Core > Issue Type: Improvement > Components: contrib/hod > Affects Versions: 0.16.0 > Reporter: Karam Singh > Assignee: Hemanth Yamijala > Fix For: 0.17.0 > > Attachments: 2796.1.patch, 2796.patch > > > For hod script option, the exit code should distinguishable between hod exit code and script exit code. > e.g. > If script command contains the streaming command at end and that fails due to input path not found, its value exit cod will 5 which overlaps with hod exit code 5 which means "job execution failure" > It would hod throws some distinguishable exit codes > e.g > For above examples 64 +5 =69 and we should this to get exact exit code of hod script command user should subtract 64 from exit code -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.