hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [3/3] hadoop git commit: HADOOP-11298. slaves.sh and stop-all.sh are missing slashes (aw)
Date Thu, 13 Nov 2014 20:01:48 GMT
HADOOP-11298. slaves.sh and stop-all.sh are missing slashes (aw)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/b650e61a
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/b650e61a
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/b650e61a

Branch: refs/heads/trunk
Commit: b650e61a7f5bd27be850b4ec940516571b4c6b3d
Parents: ba879a5
Author: Allen Wittenauer <aw@apache.org>
Authored: Thu Nov 13 12:01:38 2014 -0800
Committer: Allen Wittenauer <aw@apache.org>
Committed: Thu Nov 13 12:01:38 2014 -0800

----------------------------------------------------------------------
 hadoop-common-project/hadoop-common/CHANGES.txt              | 2 ++
 hadoop-common-project/hadoop-common/src/main/bin/slaves.sh   | 2 +-
 hadoop-common-project/hadoop-common/src/main/bin/stop-all.sh | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/b650e61a/hadoop-common-project/hadoop-common/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt
index d77d024..f3a0237 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -343,6 +343,8 @@ Trunk (Unreleased)
     HADOOP-11284. Fix variable name mismatches in hadoop-functions.sh (Masatake
     Iwasaki via aw)
 
+    HADOOP-11298. slaves.sh and stop-all.sh are missing slashes (aw)
+
   OPTIMIZATIONS
 
     HADOOP-7761. Improve the performance of raw comparisons. (todd)

http://git-wip-us.apache.org/repos/asf/hadoop/blob/b650e61a/hadoop-common-project/hadoop-common/src/main/bin/slaves.sh
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/bin/slaves.sh b/hadoop-common-project/hadoop-common/src/main/bin/slaves.sh
index 0ffb484..a8f0660 100755
--- a/hadoop-common-project/hadoop-common/src/main/bin/slaves.sh
+++ b/hadoop-common-project/hadoop-common/src/main/bin/slaves.sh
@@ -36,7 +36,7 @@ if [[ -n "${HADOOP_PREFIX}" ]]; then
   DEFAULT_LIBEXEC_DIR="${HADOOP_PREFIX}/libexec"
 else
   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"
 fi
 

http://git-wip-us.apache.org/repos/asf/hadoop/blob/b650e61a/hadoop-common-project/hadoop-common/src/main/bin/stop-all.sh
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/bin/stop-all.sh b/hadoop-common-project/hadoop-common/src/main/bin/stop-all.sh
index a0311e4..55424d8 100755
--- a/hadoop-common-project/hadoop-common/src/main/bin/stop-all.sh
+++ b/hadoop-common-project/hadoop-common/src/main/bin/stop-all.sh
@@ -26,7 +26,7 @@ if [[ -n "${HADOOP_PREFIX}" ]]; then
   DEFAULT_LIBEXEC_DIR="${HADOOP_PREFIX}/libexec"
 else
   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"
 fi
 


Mime
View raw message