spark-instrumented-optimizer/bin/stop-all.sh
Denny 0ee44c225e Spark standalone mode cluster scripts.
Heavily inspired by Hadoop cluster scripts ;-)
2012-08-01 20:38:52 -07:00

15 lines
255 B
Bash
Executable file

#!/usr/bin/env bash
# Start all spark daemons.
# Run this on the master nde
bin=`dirname "$0"`
bin=`cd "$bin"; pwd`
# Load the Spark configuration
. "$bin/spark-config.sh"
# Stop the slaves, then the master
"$bin"/stop-slaves.sh
"$bin"/stop-master.sh