Closed ttimasdf closed 5 years ago
The hdfs-shell.sh script will fail to find its home directory when it's symlinked to other locations through ln -s. Add readlink inside dirname command will get the expected behaviour.
hdfs-shell.sh
ln -s
readlink
dirname
The
hdfs-shell.sh
script will fail to find its home directory when it's symlinked to other locations throughln -s
. Addreadlink
insidedirname
command will get the expected behaviour.