Details
Description
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.
Attachments
Attachments
Issue Links
- 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