Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 23931 invoked from network); 7 Jan 2011 21:43:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Jan 2011 21:43:09 -0000 Received: (qmail 22438 invoked by uid 500); 7 Jan 2011 21:43:09 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 22401 invoked by uid 500); 7 Jan 2011 21:43: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 22393 invoked by uid 99); 7 Jan 2011 21:43:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 21:43:08 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 21:43:08 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p07Lgmgw021726 for ; Fri, 7 Jan 2011 21:42:48 GMT Message-ID: <24398646.220811294436568202.JavaMail.jira@thor> Date: Fri, 7 Jan 2011 16:42:48 -0500 (EST) From: "Eli Collins (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Updated: (HADOOP-7089) Fix link resolution logic in hadoop-config.sh In-Reply-To: <4938283.175421294279065970.JavaMail.jira@thor> 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-7089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eli Collins updated HADOOP-7089: -------------------------------- Summary: Fix link resolution logic in hadoop-config.sh (was: Use readlink to get absolute paths in the scripts ) > Fix link resolution logic in hadoop-config.sh > --------------------------------------------- > > Key: HADOOP-7089 > URL: https://issues.apache.org/jira/browse/HADOOP-7089 > Project: Hadoop Common > Issue Type: Bug > Components: scripts > Reporter: Eli Collins > Assignee: Eli Collins > Priority: Minor > Fix For: 0.22.0, 0.23.0 > > Attachments: hadoop-7089-1.patch, hadoop-7089-1.patch, hadoop-7089-2.patch > > > The link resolution logic in bin/hadoop-config.sh fails when when executed via a symlink, from the root directory. We can replace this logic with cd -P and pwd -P, which should be portable across Linux, Solaris, BSD, and OSX. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.