diff options
Diffstat (limited to 'bin/stop-all.sh')
-rwxr-xr-x | bin/stop-all.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/stop-all.sh b/bin/stop-all.sh new file mode 100755 index 0000000000..d352f6f631 --- /dev/null +++ b/bin/stop-all.sh @@ -0,0 +1,14 @@ +#!/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 |