Repository: spark Updated Branches: refs/heads/master ae1f54aa0 -> ead6abf7e
[SPARK-12499][BUILD] don't force MAVEN_OPTS allow the user to override MAVEN_OPTS (2GB wasn't sufficient for me) Author: Adrian Bridgett <[email protected]> Closes #10448 from abridgett/feature/do_not_force_maven_opts. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/ead6abf7 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/ead6abf7 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/ead6abf7 Branch: refs/heads/master Commit: ead6abf7e7fc14b451214951d4991d497aa65e63 Parents: ae1f54a Author: Adrian Bridgett <[email protected]> Authored: Wed Dec 23 16:00:03 2015 -0800 Committer: Josh Rosen <[email protected]> Committed: Wed Dec 23 16:00:03 2015 -0800 ---------------------------------------------------------------------- make-distribution.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/ead6abf7/make-distribution.sh ---------------------------------------------------------------------- diff --git a/make-distribution.sh b/make-distribution.sh index 351b9e7..a38fd8d 100755 --- a/make-distribution.sh +++ b/make-distribution.sh @@ -159,7 +159,7 @@ fi # Build uber fat JAR cd "$SPARK_HOME" -export MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=512m" +export MAVEN_OPTS="${MAVEN_OPTS:--Xmx2g -XX:MaxPermSize=512M -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]
