hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-7089) Fix link resolution logic in hadoop-config.sh
Date Fri, 14 Jan 2011 02:21:22 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-7089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12981610#action_12981610

Eli Collins commented on HADOOP-7089:

Thanks for the review Allen.

According to the following Posix includes -P for cd and pwd so I think this change will work
even on systems w/o bash built ins.  On my linux host both the built-in and pwd binary support

IEEE Std 1003.1, 2004 Edition

> 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
>         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.

View raw message