You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Eli Collins (JIRA)" <ji...@apache.org> on 2011/01/06 03:03:46 UTC

[jira] Updated: (HADOOP-7089) Use readlink to get absolute paths in the scripts

     [ https://issues.apache.org/jira/browse/HADOOP-7089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eli Collins updated HADOOP-7089:
--------------------------------

    Attachment: hadoop-7089-1.patch

Patch attached.  Tested running a daemon out of the bin dir w/ absolute and relative paths.

> Use readlink to get absolute paths in the scripts 
> --------------------------------------------------
>
>                 Key: HADOOP-7089
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7089
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: scripts
>            Reporter: Eli Collins
>            Assignee: Eli Collins
>            Priority: Minor
>             Fix For: 0.22.0, 0.23.0
>
>         Attachments: hadoop-7089-1.patch
>
>
> The manual link resolution logic in bin/hadoop-config.sh can be replaced with readlink -m -n.  Ditto with other uses of cd + pwd to get an absolute path, which can be fragile.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.