-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: scripts
-
Labels:None
-
Hadoop Flags:Reviewed
-
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.
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.
- is related to
-
ZOOKEEPER-303 Bin scripts don't work on Mac
-
- Closed
-
-
HADOOP-7092 Consolidate startup shell scripts
-
- Resolved
-
- relates to
-
HDFS-1569 Use readlink to get absolute paths in the scripts
-
- Closed
-
-
MAPREDUCE-2247 Use readlink to get absolute paths in the scripts
-
- Closed
-