You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by iw...@apache.org on 2022/09/28 10:11:06 UTC

[bigtop] branch branch-3.0 updated: BIGTOP-3813: Incompatible guava & commons-lang3 Versions in Oozie Sharelib

This is an automated email from the ASF dual-hosted git repository.

iwasakims pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/bigtop.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 93066347 BIGTOP-3813: Incompatible guava & commons-lang3 Versions in Oozie Sharelib
93066347 is described below

commit 930663478ab9aefe539c469cba94ec68eb20df62
Author: William Horn <wi...@gmail.com>
AuthorDate: Thu Sep 22 17:24:07 2022 -0400

    BIGTOP-3813: Incompatible guava & commons-lang3 Versions in Oozie Sharelib
---
 bigtop-packages/src/common/oozie/do-component-build | 14 +++++++++++++-
 bigtop.bom                                          |  2 +-
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/bigtop-packages/src/common/oozie/do-component-build b/bigtop-packages/src/common/oozie/do-component-build
index 7640a34f..7309f29d 100755
--- a/bigtop-packages/src/common/oozie/do-component-build
+++ b/bigtop-packages/src/common/oozie/do-component-build
@@ -83,8 +83,20 @@ sed -i.bak "/http:\/\/repository.codehaus.org/a\\
             </releases>" ${WORKDIR}/pom.xml
 
 export MAVEN_OPTS="-Xmx2g"
+
 # Invoke Oozie build script
-${WORKDIR}/bin/mkdistro.sh -DjavaVersion=${JDK_VERSION} -DtargetJavaVersion=${JDK_VERSION} -DsourceJavaVersion=${JDK_VERSION} -DminJavaVersion=${JDK_VERSION} -DskipTests -Phadoop-3 -Pspark-2 -Puber -Dhadoop.version=${HADOOP_VERSION} -Dhadoop.auth.version=${HADOOP_VERSION} -Dhive.version=${HIVE_VERSION} -Dsqoop.version=${SQOOP_VERSION} -Dspark.version=${SPARK_VERSION} -Dspark.scala.binary.version=${SCALA_VERSION%.*} -Djackson.version=2.9.10 ${EXTRA_GOALS} -Dmaven.repo.local=${HOME}/.m2/re [...]
+MKDISTRO_ARGS=" -DjavaVersion=${JDK_VERSION} -DtargetJavaVersion=${JDK_VERSION} -DminJavaVersion=${JDK_VERSION} "
+MKDISTRO_ARGS+="-DskipTests -Phadoop-3 -Pspark-2 -Puber "
+MKDISTRO_ARGS+="-Dhadoop.version=${HADOOP_VERSION} "
+MKDISTRO_ARGS+="-Dhadoop.auth.version=${HADOOP_VERSION} "
+MKDISTRO_ARGS+="-Dhive.version=${HIVE_VERSION} "
+MKDISTRO_ARGS+="-Dsqoop.version=${SQOOP_VERSION} "
+MKDISTRO_ARGS+="-Dspark.version=${SPARK_VERSION} "
+MKDISTRO_ARGS+="-Dspark.scala.binary.version=${SCALA_VERSION%.*} "
+MKDISTRO_ARGS+="-Dspark.guava.version=27.0-jre "
+MKDISTRO_ARGS+="-Dcommons.lang3.version=3.9 "
+MKDISTRO_ARGS+="-Djackson.version=2.9.10 "
+${WORKDIR}/bin/mkdistro.sh ${MKDISTRO_ARGS} ${EXTRA_GOALS} -Dmaven.repo.local=${HOME}/.m2/repository "$@"
 MKDISTRO_RESULT=$?
 if [ "${MKDISTRO_RESULT}" != "0" ]; then
   echo "ERROR: mkdistro.sh failed with error ${MKDISTRO_RESULT}"
diff --git a/bigtop.bom b/bigtop.bom
index b8129557..9bb60364 100644
--- a/bigtop.bom
+++ b/bigtop.bom
@@ -196,7 +196,7 @@ bigtop {
     'oozie' {
       name    = 'oozie'
       relNotes = 'Apache Oozie'
-      version { base = '5.2.1'; pkg = base; release = 1 }
+      version { base = '5.2.1'; pkg = base; release = 2 }
       tarball { destination = "$name-${version.base}.tar.gz"
                 source      = destination }
       url     { download_path = "/$name/${version.base}/"