aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Wendell <pwendell@gmail.com>2014-01-06 20:12:57 -0800
committerPatrick Wendell <pwendell@gmail.com>2014-01-06 20:12:57 -0800
commitb97ef218f3feec6354bae6cfcd060e9b112c1779 (patch)
tree166222b65aa6f69f7528108e9677acdb85f885e7
parente4d6057b6692ca5f071819b4ec6eb5240a0a16bc (diff)
parentdea4ba9d80f96d2240fdd99b65ba0ac697135823 (diff)
downloadspark-b97ef218f3feec6354bae6cfcd060e9b112c1779.tar.gz
spark-b97ef218f3feec6354bae6cfcd060e9b112c1779.tar.bz2
spark-b97ef218f3feec6354bae6cfcd060e9b112c1779.zip
Merge pull request #346 from sproblvem/patch-1
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.
-rwxr-xr-xsbin/stop-slaves.sh4
1 files changed, 2 insertions, 2 deletions
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"