10 lines
207 B
Bash
10 lines
207 B
Bash
|
#!/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
|