diff options
author | Jey Kottalam <jey@cs.berkeley.edu> | 2013-08-16 13:53:16 -0700 |
---|---|---|
committer | Jey Kottalam <jey@cs.berkeley.edu> | 2013-08-16 14:00:05 -0700 |
commit | 67b593607c7df934d5a73012fe9cce220b25f321 (patch) | |
tree | 961b3f3709b6734a0192e622c5aa85e84e7eaf21 /make-distribution.sh | |
parent | b1d99744a813a72301260612943f46853794f00f (diff) | |
download | spark-67b593607c7df934d5a73012fe9cce220b25f321.tar.gz spark-67b593607c7df934d5a73012fe9cce220b25f321.tar.bz2 spark-67b593607c7df934d5a73012fe9cce220b25f321.zip |
Rename YARN build flag to SPARK_WITH_YARN
Diffstat (limited to 'make-distribution.sh')
-rwxr-xr-x | make-distribution.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/make-distribution.sh b/make-distribution.sh index a101024de5..55dc22b992 100755 --- a/make-distribution.sh +++ b/make-distribution.sh @@ -47,7 +47,7 @@ VERSION=$($FWDIR/sbt/sbt "show version" | tail -1 | cut -f 2 | sed 's/^\([a-zA-Z # Initialize defaults SPARK_HADOOP_VERSION=1.2.1 -SPARK_YARN_MODE=false +SPARK_WITH_YARN=false MAKE_TGZ=false # Parse arguments @@ -58,7 +58,7 @@ while (( "$#" )); do shift ;; --with-yarn) - SPARK_YARN_MODE=true + SPARK_WITH_YARN=true ;; --tgz) MAKE_TGZ=true @@ -74,7 +74,7 @@ else fi echo "Hadoop version set to $SPARK_HADOOP_VERSION" -if [ "$SPARK_YARN_MODE" == "true" ]; then +if [ "$SPARK_WITH_YARN" == "true" ]; then echo "YARN enabled" else echo "YARN disabled" @@ -82,7 +82,7 @@ fi # Build fat JAR export SPARK_HADOOP_VERSION -export SPARK_YARN_MODE +export SPARK_WITH_YARN "$FWDIR/sbt/sbt" "repl/assembly" # Make directories |