[ https://issues.apache.org/jira/browse/HADOOP-7089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978117#action_12978117 ]
Greg Roelofs commented on HADOOP-7089: -------------------------------------- ...and looks like older versions of GNU readlink don't accept the -m option. This is the --help output from version 5.2.1: -f, --canonicalize canonicalize by following every symlink in every component of the given path recursively -n, --no-newline do not output the trailing newline -q, --quiet, -s, --silent suppress most error messages -v, --verbose report error messages --help display this help and exit --version output version information and exit > 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.