diff options
Diffstat (limited to 'sbin/start-all.sh')
-rwxr-xr-x | sbin/start-all.sh | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/sbin/start-all.sh b/sbin/start-all.sh index 2daf49db35..5c89ab4d86 100755 --- a/sbin/start-all.sh +++ b/sbin/start-all.sh @@ -24,11 +24,22 @@ sbin=`dirname "$0"` sbin=`cd "$sbin"; pwd` +TACHYON_STR="" + +while (( "$#" )); do +case $1 in + --with-tachyon) + TACHYON_STR="--with-tachyon" + ;; + esac +shift +done + # Load the Spark configuration . "$sbin/spark-config.sh" # Start Master -"$sbin"/start-master.sh +"$sbin"/start-master.sh $TACHYON_STR # Start Workers -"$sbin"/start-slaves.sh +"$sbin"/start-slaves.sh $TACHYON_STR |