From dea4ba9d80f96d2240fdd99b65ba0ac697135823 Mon Sep 17 00:00:00 2001 From: sproblvem Date: Tue, 7 Jan 2014 11:11:59 +0800 Subject: Update stop-slaves.sh The most recently version has changed the directory structure, but this script "sbin/stop-all.sh" doesn't change with it accordingly. This mistake makes "sbin/stop-all.sh" can't stop the slave node. --- sbin/stop-slaves.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/stop-slaves.sh') diff --git a/sbin/stop-slaves.sh b/sbin/stop-slaves.sh index c6b0b6ab66..eb803b4900 100755 --- a/sbin/stop-slaves.sh +++ b/sbin/stop-slaves.sh @@ -17,8 +17,8 @@ # limitations under the License. # -bin=`dirname "$0"` -bin=`cd "$sbin"; pwd` +sbin=`dirname "$0"` +sbin=`cd "$sbin"; pwd` . "$sbin/spark-config.sh" -- cgit v1.2.3