aboutsummaryrefslogtreecommitdiff
path: root/bin/stop-slaves.sh
diff options
context:
space:
mode:
authorDenny <dennybritz@gmail.com>2012-08-01 13:17:31 -0700
committerDenny <dennybritz@gmail.com>2012-08-01 20:38:52 -0700
commit0ee44c225e38abbf3382be6e9555ab9a35424a54 (patch)
tree9fc106518bf55fc27083463843e9ee591c63ee59 /bin/stop-slaves.sh
parent545165e8153bb516d4364f9b3df1440c6b44c01b (diff)
downloadspark-0ee44c225e38abbf3382be6e9555ab9a35424a54.tar.gz
spark-0ee44c225e38abbf3382be6e9555ab9a35424a54.tar.bz2
spark-0ee44c225e38abbf3382be6e9555ab9a35424a54.zip
Spark standalone mode cluster scripts.
Heavily inspired by Hadoop cluster scripts ;-)
Diffstat (limited to 'bin/stop-slaves.sh')
-rwxr-xr-xbin/stop-slaves.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/stop-slaves.sh b/bin/stop-slaves.sh
new file mode 100755
index 0000000000..f75167dd2c
--- /dev/null
+++ b/bin/stop-slaves.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+# Starts the master on the machine this script is executed on.
+
+bin=`dirname "$0"`
+bin=`cd "$bin"; pwd`
+
+. "$bin/spark-config.sh"
+
+"$bin"/spark-daemon.sh stop spark.deploy.master.Master \ No newline at end of file