Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F067903F for ; Tue, 3 Jan 2012 21:45:26 +0000 (UTC) Received: (qmail 94459 invoked by uid 500); 3 Jan 2012 21:45:25 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 94410 invoked by uid 500); 3 Jan 2012 21:45:25 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 94246 invoked by uid 99); 3 Jan 2012 21:45:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2012 21:45:25 +0000 X-ASF-Spam-Status: No, hits=-2001.6 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2012 21:45:24 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9125E1364FC for ; Tue, 3 Jan 2012 21:44:40 +0000 (UTC) Date: Tue, 3 Jan 2012 21:44:40 +0000 (UTC) From: "Hadoop QA (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1780089266.2039.1325627080595.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2021745691.1939.1325626120629.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7948) Shell scripts created by hadoop-dist/pom.xml to build tar do not properly propagate failure MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-7948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179047#comment-13179047 ] Hadoop QA commented on HADOOP-7948: ----------------------------------- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12509343/HADOOP-7948.patch against trunk revision . +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. -1 patch. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/493//console This message is automatically generated. > Shell scripts created by hadoop-dist/pom.xml to build tar do not properly propagate failure > ------------------------------------------------------------------------------------------- > > Key: HADOOP-7948 > URL: https://issues.apache.org/jira/browse/HADOOP-7948 > Project: Hadoop Common > Issue Type: Bug > Components: build > Environment: OSX > Reporter: Michajlo Matijkiw > Priority: Minor > Attachments: HADOOP-7948.patch > > > The run() function, as defined in dist-layout-stitching.sh and dist-tar-stitching, created in hadoop-dist/pom.xml, does not properly propagate the error code of a failing command. See the following: > {code} > ... > "${@}" # call fails with non-zero exit code > if [ $? != 0 ]; then > echo > echo "Failed!" > echo > exit $? # $?=result of echo above, likely 0, thus exit with code 0 > ... > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira