You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by rv...@apache.org on 2013/11/26 05:51:49 UTC

git commit: BIGTOP-1152. speed up spark build

Updated Branches:
  refs/heads/master 9f575c959 -> 11ecd48c8


BIGTOP-1152. speed up spark build


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

Branch: refs/heads/master
Commit: 11ecd48c85934da42f14fea481123443223ffdaf
Parents: 9f575c9
Author: Roman Shaposhnik <rv...@cloudera.com>
Authored: Mon Nov 25 16:21:04 2013 -0800
Committer: Roman Shaposhnik <rv...@cloudera.com>
Committed: Mon Nov 25 16:21:04 2013 -0800

----------------------------------------------------------------------
 bigtop-packages/src/common/spark/do-component-build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/11ecd48c/bigtop-packages/src/common/spark/do-component-build
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/spark/do-component-build b/bigtop-packages/src/common/spark/do-component-build
index 0593333..428540e 100644
--- a/bigtop-packages/src/common/spark/do-component-build
+++ b/bigtop-packages/src/common/spark/do-component-build
@@ -30,6 +30,6 @@ BUILD_OPTS="-Divy.home=${HOME}/.ivy2 -Dsbt.ivy.home=${HOME}/.ivy2 -Duser.home=${
             -DskipTests"
 ## this might be an issue at times
 #        http://maven.40175.n5.nabble.com/Not-finding-artifact-in-local-repo-td3727753.html
-export MAVEN_OPTS="-XX:PermSize=1024m -XX:MaxPermSize=1024m"
+export MAVEN_OPTS="-Xmx2g -XX:ReservedCodeCacheSize=512m -XX:PermSize=1024m -XX:MaxPermSize=1024m"
 
 mvn -Pbigtop-dist $BUILD_OPTS package