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) Use readlink to get absolute paths in the scripts
Date Thu, 06 Jan 2011 02:27:48 GMT

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

Eli Collins commented on HADOOP-7089:

bq. Does this work on OSX, BSD, and Solaris? I seem to remember this being proposed before,
but killed for compatibility reasons.

I checked that -m and -n were supported on Solaris.  Looks like from ZOOKEEPER-303 though
that OSX doesn't have this option, think the same workaround is acceptable here?

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

View raw message