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 59F5DD813 for ; Tue, 28 Aug 2012 16:31:08 +0000 (UTC) Received: (qmail 70597 invoked by uid 500); 28 Aug 2012 16:31:08 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 70574 invoked by uid 500); 28 Aug 2012 16:31:08 -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 70565 invoked by uid 99); 28 Aug 2012 16:31:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2012 16:31:07 +0000 Date: Wed, 29 Aug 2012 03:31:07 +1100 (NCT) From: "Jianbin Wei (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <807208537.6948.1346171467965.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HADOOP-6851) Fix '$bin' path duplication in setup scripts 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-6851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443248#comment-13443248 ] Jianbin Wei commented on HADOOP-6851: ------------------------------------- I am not sure. But I guess you can specify the version you patch against when submitting the patch. I found it is not compatible with trunk and just notice that your patch is for 0.22. > Fix '$bin' path duplication in setup scripts > -------------------------------------------- > > Key: HADOOP-6851 > URL: https://issues.apache.org/jira/browse/HADOOP-6851 > Project: Hadoop Common > Issue Type: Bug > Components: scripts > Reporter: Nicolas Spiegelberg > Priority: Trivial > Attachments: HADOOP-6851-0.22.patch > > > I have my bash environment setup to echo absolute pathnames when a relative one is specified in 'cd'. This caused problems with all the Hadoop bash scripts because the script accidentally sets the $bin variable twice in this setup. (e.g. would set $bin="/path/bin/hadoop\n/path/bin/hadoop"). > This jira is for common scripts. I filed a separate jira for HDFS scripts, which share the same pattern. -- 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