BIGTOP-2140: hbase 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/ffb048a9
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/ffb048a9
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/ffb048a9

Branch: refs/heads/master
Commit: ffb048a95c9583bcc81d418fbf471528eb7fd3a5
Parents: 991d699
Author: Olaf Flebbe <[email protected]>
Authored: Fri Nov 13 23:47:14 2015 +0100
Committer: Olaf Flebbe <[email protected]>
Committed: Sat Nov 14 16:45:01 2015 +0100

----------------------------------------------------------------------
 bigtop-packages/src/common/hbase/do-component-build | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/ffb048a9/bigtop-packages/src/common/hbase/do-component-build
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/hbase/do-component-build 
b/bigtop-packages/src/common/hbase/do-component-build
index 049d4c8..a602998 100644
--- a/bigtop-packages/src/common/hbase/do-component-build
+++ b/bigtop-packages/src/common/hbase/do-component-build
@@ -21,6 +21,8 @@ set -ex
 #A hack to disable Codehaus repository since it's out of service
 sed --in-place -e 
'/http:\/\/repository.codehaus.org/,/<\/repository>/s/true/false/' pom.xml
 
+export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m"
+
 #An awful hack for BIGTOP-1429 to satisfy ASF CI build deps. resolution
 bash -x ./dev-support/generate-hadoopX-poms.sh $HBASE_VERSION 
$HBASE_VERSION-hadoop2
 

Reply via email to