diff --git a/bigtop-packages/src/common/hadoop/do-component-build b/bigtop-packages/src/common/hadoop/do-component-build index 60ff0de965..668bb24470 100644 --- a/bigtop-packages/src/common/hadoop/do-component-build +++ b/bigtop-packages/src/common/hadoop/do-component-build @@ -124,7 +124,7 @@ mkdir build mkdir build/src # Build artifacts -MAVEN_OPTS="-Dzookeeper.version=$ZOOKEEPER_VERSION " +MAVEN_OPTS="$MAVEN_OPTS -Dzookeeper.version=$ZOOKEEPER_VERSION " MAVEN_OPTS+="-Dleveldbjni.group=org.fusesource.leveldbjni " MAVEN_OPTS+="-DskipTests -DskipITs " diff --git a/bigtop-packages/src/common/hbase/do-component-build b/bigtop-packages/src/common/hbase/do-component-build index fe3d25873f..419f8fad18 100644 --- a/bigtop-packages/src/common/hbase/do-component-build +++ b/bigtop-packages/src/common/hbase/do-component-build @@ -18,7 +18,7 @@ set -ex . `dirname $0`/bigtop.bom -export MAVEN_OPTS="-Xmx1024m" +export MAVEN_OPTS="$MAVEN_OPTS -Xmx1024m" MVN_ARGS="-Phadoop-3.0 " MVN_ARGS+="-Dhadoop-three.version=${HADOOP_VERSION} "