spark-instrumented-optimizer/bin/start-all.sh
Josh Rosen 1948f46093 Use spark-env.sh to configure standalone master. See SPARK-638.
Also fixed a typo in the standalone mode documentation.
2012-12-14 01:20:00 +00:00

18 lines
315 B
Bash
Executable file

#!/usr/bin/env bash
# Start all spark daemons.
# Starts the master on this node.
# Starts a worker on each node specified in conf/slaves
bin=`dirname "$0"`
bin=`cd "$bin"; pwd`
# Load the Spark configuration
. "$bin/spark-config.sh"
# Start Master
"$bin"/start-master.sh
# Start Workers
"$bin"/start-slaves.sh