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

11 lines
209 B
Bash
Raw Normal View History

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