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 5723D90F3 for ; Wed, 1 Feb 2012 18:11:25 +0000 (UTC) Received: (qmail 26729 invoked by uid 500); 1 Feb 2012 18:11:25 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 26686 invoked by uid 500); 1 Feb 2012 18:11:24 -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 26677 invoked by uid 99); 1 Feb 2012 18:11:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 18:11:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Wed, 01 Feb 2012 18:11:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E26D61848EE for ; Wed, 1 Feb 2012 18:11:00 +0000 (UTC) Date: Wed, 1 Feb 2012 18:11:00 +0000 (UTC) From: "Roman Shaposhnik (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1351095081.3561.1328119860929.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <934803385.648.1328055776774.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-8010) hadoop-config.sh spews error message when HADOOP_HOME_WARN_SUPPRESS is set to true and HADOOP_HOME is present MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-8010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198015#comment-13198015 ] Roman Shaposhnik commented on HADOOP-8010: ------------------------------------------ @Matt, thank a lot for committing it! @Eli, the difference between hadoop-config.sh and everything else is that hadoop-config.sh doesn't control which scripts are sourcing it (it is meant to be sourced not executed) and thus needs to be as POSIX compliant as possible. The rest of the scripts where '==' is used in Hadoop 1.0 branch are all specifying #!/usr/bin/env bash so there's no issue. > hadoop-config.sh spews error message when HADOOP_HOME_WARN_SUPPRESS is set to true and HADOOP_HOME is present > ------------------------------------------------------------------------------------------------------------- > > Key: HADOOP-8010 > URL: https://issues.apache.org/jira/browse/HADOOP-8010 > Project: Hadoop Common > Issue Type: Bug > Components: scripts > Affects Versions: 1.0.0 > Reporter: Roman Shaposhnik > Assignee: Roman Shaposhnik > Priority: Minor > Fix For: 1.0.1 > > Attachments: HADOOP-8010.patch.txt > > > Running hadoop daemon commands when HADOOP_HOME_WARN_SUPPRESS is set to true and HADOOP_HOME is present produces: > {noformat} > [: 76: true: unexpected operator > {noformat} -- 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