Repository: spark
Updated Branches:
  refs/heads/master 8b57ea4a1 -> e553b1e8c


[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 <[email protected]>

Closes #16984 from lins05/fix-spark-make-distribution-after-removing-java7.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/e553b1e8
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/e553b1e8
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/e553b1e8

Branch: refs/heads/master
Commit: e553b1e8cd5b275cd00cc8d5cb7a9a0597e2bf74
Parents: 8b57ea4
Author: Shuai Lin <[email protected]>
Authored: Sat Feb 18 14:08:59 2017 +0000
Committer: Sean Owen <[email protected]>
Committed: Sat Feb 18 14:08:59 2017 +0000

----------------------------------------------------------------------
 dev/make-distribution.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/e553b1e8/dev/make-distribution.sh
----------------------------------------------------------------------
diff --git a/dev/make-distribution.sh b/dev/make-distribution.sh
index 22cdfd4..769cbda 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.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to