[ https://issues.apache.org/jira/browse/HADOOP-7089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins updated HADOOP-7089: -------------------------------- Release Note: Updates hadoop-config.sh to always resolve symlinks when determining HADOOP_HOME. Bash built-ins or POSIX:2001 compliant cmds are now required. > 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, hadoop-7089-3.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.