diff options
author | Nick Lanham <nick@afternight.org> | 2014-03-18 22:04:57 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-03-18 22:04:57 -0700 |
commit | a18ea00f3af0fa4c6b2c59933e22b6c9f0f636c8 (patch) | |
tree | be8b2783a2a93724bcbbdcf115cbd8f628292ef9 /sbin/start-all.sh | |
parent | cc2655a237442a71c75d4fade99767df7648e55f (diff) | |
download | spark-a18ea00f3af0fa4c6b2c59933e22b6c9f0f636c8.tar.gz spark-a18ea00f3af0fa4c6b2c59933e22b6c9f0f636c8.tar.bz2 spark-a18ea00f3af0fa4c6b2c59933e22b6c9f0f636c8.zip |
Bundle tachyon: SPARK-1269
This should all work as expected with the current version of the tachyon tarball (0.4.1)
Author: Nick Lanham <nick@afternight.org>
Closes #137 from nicklan/bundle-tachyon and squashes the following commits:
2eee15b [Nick Lanham] Put back in exec, start tachyon first
738ba23 [Nick Lanham] Move tachyon out of sbin
f2f9bc6 [Nick Lanham] More checks for tachyon script
111e8e1 [Nick Lanham] Only try tachyon operations if tachyon script exists
0561574 [Nick Lanham] Copy over web resources so web interface can run
4dc9809 [Nick Lanham] Update to tachyon 0.4.1
0a1a20c [Nick Lanham] Add scripts using tachyon tarball
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 |