0ee44c225e
Heavily inspired by Hadoop cluster scripts ;-)
10 lines
207 B
Bash
Executable file
10 lines
207 B
Bash
Executable file
#!/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 start spark.deploy.master.Master |