aboutsummaryrefslogtreecommitdiff
path: root/bin/stop-all.sh
blob: d352f6f63112e711f3c31f456b2955fc0e59c3f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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