aboutsummaryrefslogtreecommitdiff
path: root/dev/make-distribution.sh
diff options
context:
space:
mode:
authorShuai Lin <linshuai2012@gmail.com>2017-02-18 14:08:59 +0000
committerSean Owen <sowen@cloudera.com>2017-02-18 14:08:59 +0000
commite553b1e8cd5b275cd00cc8d5cb7a9a0597e2bf74 (patch)
tree3603c2e6d9392b0be271bfab5b2e3f26b30d5e26 /dev/make-distribution.sh
parent8b57ea4a1e582d24baf37df3eb148804d83cf767 (diff)
downloadspark-e553b1e8cd5b275cd00cc8d5cb7a9a0597e2bf74.tar.gz
spark-e553b1e8cd5b275cd00cc8d5cb7a9a0597e2bf74.tar.bz2
spark-e553b1e8cd5b275cd00cc8d5cb7a9a0597e2bf74.zip
[SPARK-19550] Follow-up: fixed a typo that fails the dev/make-distribution.sh script.
## What changes were proposed in this pull request? Fixed a typo in `dev/make-distribution.sh` script that sets the MAVEN_OPTS variable, introduced [here](https://github.com/apache/spark/commit/0e24054#diff-ba2c046d92a1d2b5b417788bfb5cb5f8R149). ## How was this patch tested? Run `dev/make-distribution.sh` manually. Author: Shuai Lin <linshuai2012@gmail.com> Closes #16984 from lins05/fix-spark-make-distribution-after-removing-java7.
Diffstat (limited to 'dev/make-distribution.sh')
-rwxr-xr-xdev/make-distribution.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/make-distribution.sh b/dev/make-distribution.sh
index 22cdfd467c..769cbda4fe 100755
--- a/dev/make-distribution.sh
+++ b/dev/make-distribution.sh
@@ -146,7 +146,7 @@ fi
# Build uber fat JAR
cd "$SPARK_HOME"
-export MAVEN_OPTS="${MAVEN_OPTS:-Xmx2g -XX:ReservedCodeCacheSize=512m}"
+export MAVEN_OPTS="${MAVEN_OPTS:--Xmx2g -XX:ReservedCodeCacheSize=512m}"
# Store the command as an array because $MVN variable might have spaces in it.
# Normal quoting tricks don't work.