spark-instrumented-optimizer/bin/stop-all.sh

15 lines
255 B
Bash
Raw Normal View History

#!/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