Return-Path: X-Original-To: apmail-whirr-dev-archive@www.apache.org Delivered-To: apmail-whirr-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AF167F100 for ; Mon, 25 Mar 2013 22:57:17 +0000 (UTC) Received: (qmail 39284 invoked by uid 500); 25 Mar 2013 22:57:15 -0000 Delivered-To: apmail-whirr-dev-archive@whirr.apache.org Received: (qmail 39233 invoked by uid 500); 25 Mar 2013 22:57:15 -0000 Mailing-List: contact dev-help@whirr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@whirr.apache.org Delivered-To: mailing list dev@whirr.apache.org Received: (qmail 39164 invoked by uid 99); 25 Mar 2013 22:57:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Mar 2013 22:57:15 +0000 Date: Mon, 25 Mar 2013 22:57:15 +0000 (UTC) From: "Andrew Bayer (JIRA)" To: dev@whirr.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (WHIRR-653) Script exit codes aren't being checked 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/WHIRR-653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Bayer updated WHIRR-653: ------------------------------- Fix Version/s: 0.9.0 Assignee: Andrew Bayer > Script exit codes aren't being checked > -------------------------------------- > > Key: WHIRR-653 > URL: https://issues.apache.org/jira/browse/WHIRR-653 > Project: Whirr > Issue Type: Bug > Components: core > Affects Versions: 0.9.0 > Environment: local: OSX, remote RHEL6.3 > Reporter: Steve Loughran > Assignee: Andrew Bayer > Priority: Critical > Fix For: 0.9.0 > > Attachments: whirr-653.patch > > > My installer script bails out with an {{exit 1}} on many operations, such as > {{chown -R hadoop:hadoop $HADOOP_PID_DIR || exit 1;}} > This is to find problems early and so aid debugging of the installation. > Even when a script fails this way, Whirr declares that the installation was successful. > It must check the return codes to be confident that the operation succeeded. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira