HADOOP-11298. slaves.sh and stop-all.sh are missing slashes (aw)

This commit is contained in:
Allen Wittenauer 2014-11-13 12:01:38 -08:00
parent ba879a5dad
commit b650e61a7f
3 changed files with 4 additions and 2 deletions

View File

@ -343,6 +343,8 @@ Trunk (Unreleased)
HADOOP-11284. Fix variable name mismatches in hadoop-functions.sh (Masatake HADOOP-11284. Fix variable name mismatches in hadoop-functions.sh (Masatake
Iwasaki via aw) Iwasaki via aw)
HADOOP-11298. slaves.sh and stop-all.sh are missing slashes (aw)
OPTIMIZATIONS OPTIMIZATIONS
HADOOP-7761. Improve the performance of raw comparisons. (todd) HADOOP-7761. Improve the performance of raw comparisons. (todd)

View File

@ -36,7 +36,7 @@ if [[ -n "${HADOOP_PREFIX}" ]]; then
DEFAULT_LIBEXEC_DIR="${HADOOP_PREFIX}/libexec" DEFAULT_LIBEXEC_DIR="${HADOOP_PREFIX}/libexec"
else else
this="${BASH_SOURCE-$0}" this="${BASH_SOURCE-$0}"
bin=$(cd -P -- "$(dirname -- "${this}")" >dev/null && pwd -P) bin=$(cd -P -- "$(dirname -- "${this}")" >/dev/null && pwd -P)
DEFAULT_LIBEXEC_DIR="${bin}/../libexec" DEFAULT_LIBEXEC_DIR="${bin}/../libexec"
fi fi

View File

@ -26,7 +26,7 @@ if [[ -n "${HADOOP_PREFIX}" ]]; then
DEFAULT_LIBEXEC_DIR="${HADOOP_PREFIX}/libexec" DEFAULT_LIBEXEC_DIR="${HADOOP_PREFIX}/libexec"
else else
this="${BASH_SOURCE-$0}" this="${BASH_SOURCE-$0}"
bin=$(cd -P -- "$(dirname -- "${this}")" >dev/null && pwd -P) bin=$(cd -P -- "$(dirname -- "${this}")" >/dev/null && pwd -P)
DEFAULT_LIBEXEC_DIR="${bin}/../libexec" DEFAULT_LIBEXEC_DIR="${bin}/../libexec"
fi fi