bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From evan...@apache.org
Subject [bigtop] 01/01: Revert "BIGTOP-3165. Bump Spark to 2.4.0 (#482)"
Date Wed, 13 Mar 2019 11:08:34 GMT
This is an automated email from the ASF dual-hosted git repository.

evansye pushed a commit to branch revert-482-BIGTOP-3165
in repository https://gitbox.apache.org/repos/asf/bigtop.git

commit 91eab9ce32c6177e92b6674422bbd5520144ef4c
Author: Evans Ye <evansye@apache.org>
AuthorDate: Wed Mar 13 19:08:27 2019 +0800

    Revert "BIGTOP-3165. Bump Spark to 2.4.0 (#482)"
    
    This reverts commit 664240e57f064c7ec13c3685bc33891526c5944b.
---
 bigtop-packages/src/common/spark/do-component-build | 5 +++++
 bigtop-packages/src/deb/spark/spark-core.install    | 1 +
 bigtop-packages/src/rpm/spark/SPECS/spark.spec      | 1 +
 bigtop.bom                                          | 2 +-
 4 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/bigtop-packages/src/common/spark/do-component-build b/bigtop-packages/src/common/spark/do-component-build
index 86af59a..c2a2322 100644
--- a/bigtop-packages/src/common/spark/do-component-build
+++ b/bigtop-packages/src/common/spark/do-component-build
@@ -18,11 +18,16 @@ set -ex
 
 . `dirname $0`/bigtop.bom
 
+# BIGTOP-2607
+sed -i -e /useZincServer/d -e /recompileMode/d pom.xml
+
 BUILD_OPTS="-Divy.home=${HOME}/.ivy2 -Dsbt.ivy.home=${HOME}/.ivy2 -Duser.home=${HOME} \
             -Drepo.maven.org=$IVY_MIRROR_PROP \
             -Dreactor.repo=file://${HOME}/.m2/repository \
             -Dhadoop.version=$HADOOP_VERSION \
             -Dyarn.version=$HADOOP_VERSION \
+            -Dprotobuf.version=2.5.0 \
+            -DrecompileMode=all \
             -Pyarn -Phadoop-2.7 \
             -Phive -Phive-thriftserver \
             -Psparkr \
diff --git a/bigtop-packages/src/deb/spark/spark-core.install b/bigtop-packages/src/deb/spark/spark-core.install
index ddb9020..f3f2677 100644
--- a/bigtop-packages/src/deb/spark/spark-core.install
+++ b/bigtop-packages/src/deb/spark/spark-core.install
@@ -21,6 +21,7 @@
 /usr/lib/spark/data
 /usr/lib/spark/examples
 /usr/lib/spark/jars
+/usr/lib/spark/licenses
 /usr/lib/spark/sbin
 /usr/lib/spark/work
 /usr/share/doc/spark*
diff --git a/bigtop-packages/src/rpm/spark/SPECS/spark.spec b/bigtop-packages/src/rpm/spark/SPECS/spark.spec
index 44a3357..95fbc88 100644
--- a/bigtop-packages/src/rpm/spark/SPECS/spark.spec
+++ b/bigtop-packages/src/rpm/spark/SPECS/spark.spec
@@ -212,6 +212,7 @@ done
 %{lib_spark}/examples
 %{lib_spark}/jars
 %exclude %{lib_spark}/jars/datanucleus-*.jar
+%{lib_spark}/licenses
 %{lib_spark}/sbin
 %{lib_spark}/work
 %{etc_spark}
diff --git a/bigtop.bom b/bigtop.bom
index 0185af1..bdbc611 100644
--- a/bigtop.bom
+++ b/bigtop.bom
@@ -287,7 +287,7 @@ bigtop {
       name    = 'spark'
       pkg     = 'spark-core'
       relNotes = 'Apache Spark'
-      version { base = '2.4.0'; pkg = base; release = 1 }
+      version { base = '2.2.1'; pkg = base; release = 1 }
       tarball { destination = "$name-${version.base}.tar.gz"
                 source      = "$name-${version.base}.tgz" }
       url     { download_path = "/$name/$name-${version.base}"


Mime
View raw message