BIGTOP-2139:crunch compile fails with Insufficient memory on POWER
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/991d699e Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/991d699e Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/991d699e Branch: refs/heads/master Commit: 991d699ee89f7b1cb1989bce3a14d6cf176f752a Parents: 38cf28a Author: Olaf Flebbe <[email protected]> Authored: Fri Nov 13 22:46:37 2015 +0100 Committer: Olaf Flebbe <[email protected]> Committed: Sat Nov 14 16:45:01 2015 +0100 ---------------------------------------------------------------------- bigtop-packages/src/common/crunch/do-component-build | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/991d699e/bigtop-packages/src/common/crunch/do-component-build ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/common/crunch/do-component-build b/bigtop-packages/src/common/crunch/do-component-build index ca68401..6145f16 100644 --- a/bigtop-packages/src/common/crunch/do-component-build +++ b/bigtop-packages/src/common/crunch/do-component-build @@ -18,6 +18,8 @@ set -ex . `dirname $0`/bigtop.bom +export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m" + mvn -DskipTests -Dcrunch.platform=2 \ -Dhadoop.version=$HADOOP_VERSION \ -Dhbase.version=$HBASE_VERSION-hadoop2 \
