spark/bin/stop-all.sh

15 строки
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