This is an automated email from the ASF dual-hosted git repository.
iwasakims pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git
The following commit(s) were added to refs/heads/master by this push:
new d6510afc BIGTOP-3763: Fix Hive build issues about protobuf 2.5.0 on
Arm64 and PPC64le (#970)
d6510afc is described below
commit d6510afcf7c87b2d654a268a3b010c1ecc67240e
Author: Yuqi Gu <[email protected]>
AuthorDate: Fri Jul 29 17:07:36 2022 +0800
BIGTOP-3763: Fix Hive build issues about protobuf 2.5.0 on Arm64 and
PPC64le (#970)
Change-Id: I59811ca32e70a8a2c8eb261e55b0e8470590b7ce
Signed-off-by: Yuqi Gu <[email protected]>
---
bigtop-packages/src/common/hive/do-component-build | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/bigtop-packages/src/common/hive/do-component-build
b/bigtop-packages/src/common/hive/do-component-build
index 31dc34ab..5a70fdb6 100644
--- a/bigtop-packages/src/common/hive/do-component-build
+++ b/bigtop-packages/src/common/hive/do-component-build
@@ -36,12 +36,11 @@ HIVE_MAVEN_OPTS=" -Dhbase.version=$HBASE_VERSION \
# for non-x86 platforms
if [ $HOSTTYPE = "powerpc64le" ] ; then
mvn install:install-file -DgroupId=com.google.protobuf -DartifactId=protoc
-Dversion=2.5.0 \
- -Dclassifier=linux-ppcle_64 -Dpackaging=exe -Dfile=/usr/local/bin/protoc
+ -Dclassifier=linux-ppcle_64 -Dpackaging=exe
-Dfile=/usr/local/protobuf-2.5.0/bin/protoc
elif [ $HOSTTYPE = "aarch64" ] ; then
mvn install:install-file -DgroupId=com.google.protobuf -DartifactId=protoc
-Dversion=2.5.0 \
- -Dclassifier=linux-aarch_64 -Dpackaging=exe -Dfile=/usr/local/bin/protoc
+ -Dclassifier=linux-aarch_64 -Dpackaging=exe
-Dfile=/usr/local/protobuf-2.5.0/bin/protoc
fi
-export MAVEN_OPTS="${MAVEN_OPTS} -Xmx1500m -Xms1500m"
mvn ${HIVE_MAVEN_OPTS} clean install ${EXTRA_GOALS} -Pdist "$@"
mkdir -p build/dist