Skip to content

Commit

Permalink
Update spark to 2.3.4 and 2.4.4 (pingcap#1115)
Browse files Browse the repository at this point in the history
  • Loading branch information
guliangliangatpingcap authored Sep 23, 2019
1 parent fc2acb4 commit c6bd464
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/userguide.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Download [Apache Spark](https://spark.apache.org/downloads.html).

+ For the Standalone mode without Hadoop support, use Spark **2.3.x/2.4.x** and any version of pre-build with Apache Hadoop 2.x with Hadoop dependencies.

+ If you need to use the Hadoop cluster, choose the corresponding Hadoop version. You can also build Spark from the [Spark 2.3 source code](https://spark.apache.org/docs/2.3.3/building-spark.html) or [Spark 2.4 source code](https://spark.apache.org/docs/2.4.1/building-spark.html) to match the previous version of the official Hadoop 2.6.
+ If you need to use the Hadoop cluster, choose the corresponding Hadoop version. You can also build Spark from the [Spark 2.3 source code](https://spark.apache.org/docs/2.3.4/building-spark.html) or [Spark 2.4 source code](https://spark.apache.org/docs/2.4.4/building-spark.html) to match the previous version of the official Hadoop 2.6.

> **Note:**
>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<protobuf.version>3.1.0</protobuf.version>
<spark.version.compile>2.3.3</spark.version.compile>
<spark.version.test>2.4.3</spark.version.test>
<spark.version.compile>2.3.4</spark.version.compile>
<spark.version.test>2.4.4</spark.version.test>
<scala.binary.version>2.11</scala.binary.version>
<scala.version>2.11.12</scala.version>
<scalatest.version>3.0.4</scalatest.version>
Expand Down
10 changes: 7 additions & 3 deletions spark-wrapper/spark-2.3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
<name>TiSpark Project Spark Wrapper Spark-2.3</name>
<url>http://github.copm/pingcap/tispark</url>

<properties>
<spark.version.wrapper>2.3.4</spark.version.wrapper>
</properties>

<dependencies>
<dependency>
<groupId>com.pingcap.tispark</groupId>
Expand All @@ -23,17 +27,17 @@
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-core_${scala.binary.version}</artifactId>
<version>2.3.3</version>
<version>${spark.version.wrapper}</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-catalyst_${scala.binary.version}</artifactId>
<version>2.3.3</version>
<version>${spark.version.wrapper}</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-sql_${scala.binary.version}</artifactId>
<version>2.3.3</version>
<version>${spark.version.wrapper}</version>
</dependency>
</dependencies>

Expand Down
10 changes: 7 additions & 3 deletions spark-wrapper/spark-2.4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
<name>TiSpark Project Spark Wrapper Spark-2.4</name>
<url>http://github.copm/pingcap/tispark</url>

<properties>
<spark.version.wrapper>2.4.4</spark.version.wrapper>
</properties>

<dependencies>
<dependency>
<groupId>com.pingcap.tispark</groupId>
Expand All @@ -23,17 +27,17 @@
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-core_${scala.binary.version}</artifactId>
<version>2.4.3</version>
<version>${spark.version.wrapper}</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-catalyst_${scala.binary.version}</artifactId>
<version>2.4.3</version>
<version>${spark.version.wrapper}</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-sql_${scala.binary.version}</artifactId>
<version>2.4.3</version>
<version>${spark.version.wrapper}</version>
</dependency>
</dependencies>

Expand Down

0 comments on commit c6bd464

Please sign in to comment.