diff options
Diffstat (limited to 'bin/stop-slaves.sh')
-rwxr-xr-x | bin/stop-slaves.sh | 10 |
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..21c9ebf324 --- /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-daemons.sh stop spark.deploy.worker.Worker
\ No newline at end of file |