kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KYLIN-3272) Upgrade Spark dependency to 2.3.2
Date Wed, 10 Oct 2018 11:01:00 GMT

    [ https://issues.apache.org/jira/browse/KYLIN-3272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16644819#comment-16644819
] 

ASF GitHub Bot commented on KYLIN-3272:
---------------------------------------

shaofengshi closed pull request #284: KYLIN-3272 Upgrade Spark to 2.3.2
URL: https://github.com/apache/kylin/pull/284
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/build/script/download-spark.sh b/build/script/download-spark.sh
index ed904b54d4..1b61145180 100755
--- a/build/script/download-spark.sh
+++ b/build/script/download-spark.sh
@@ -27,8 +27,8 @@ if [[ `uname -a` =~ "Darwin" ]]; then
     alias md5cmd="md5 -q"
 fi
 
-spark_version="2.1.2"
-spark_pkg_md5="b47cf199bf78042a0471b9a5ae0ceeac"
+spark_version="2.3.2"
+spark_pkg_md5="01b3e6aef0ef574e066d15e035b9b2dd"
 
 if [ ! -f "build/spark-${spark_version}-bin-hadoop2.7.tgz" ]
 then
diff --git a/engine-spark/src/main/java/org/apache/kylin/engine/spark/KylinKryoRegistrator.java
b/engine-spark/src/main/java/org/apache/kylin/engine/spark/KylinKryoRegistrator.java
index a13f96ae4b..ed623d7bc7 100644
--- a/engine-spark/src/main/java/org/apache/kylin/engine/spark/KylinKryoRegistrator.java
+++ b/engine-spark/src/main/java/org/apache/kylin/engine/spark/KylinKryoRegistrator.java
@@ -111,6 +111,9 @@ public void registerClasses(Kryo kryo) {
         addClassQuitely(kyroClasses, "org.apache.spark.sql.catalyst.expressions.GenericInternalRow");
         addClassQuitely(kyroClasses, "org.apache.spark.unsafe.types.UTF8String");
 
+        addClassQuitely(kyroClasses, "org.apache.spark.internal.io.FileCommitProtocol$TaskCommitMessage");
+        addClassQuitely(kyroClasses, "scala.collection.immutable.Set$EmptySet$");
+
         for (Class kyroClass : kyroClasses) {
             kryo.register(kyroClass);
         }
diff --git a/pom.xml b/pom.xml
index c973d1abce..264583d048 100644
--- a/pom.xml
+++ b/pom.xml
@@ -60,7 +60,7 @@
     <kafka.version>1.0.0</kafka.version>
 
     <!-- Spark versions -->
-    <spark.version>2.1.2</spark.version>
+    <spark.version>2.3.2</spark.version>
     <kryo.version>4.0.0</kryo.version>
 
     <!-- mysql versions -->


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Upgrade Spark dependency to 2.3.2
> ---------------------------------
>
>                 Key: KYLIN-3272
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3272
>             Project: Kylin
>          Issue Type: Improvement
>          Components: Spark Engine
>            Reporter: Ted Yu
>            Assignee: Lijun Cao
>            Priority: Minor
>             Fix For: v2.6.0
>
>
> Currently Spark 2.1.2 is used.
> Spark 2.3.2 was released.
> We should upgrade the dependency to 2.3.2
> https://sematext.com/opensee/m/Spark/q3RTtb4Q9LI4F6F?subj=+ANNOUNCE+Announcing+Apache+Spark+2+3+2



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message