Skip to content

Commit

Permalink
Spark 3.1.1 shim no longer a snapshot shim (NVIDIA#1832)
Browse files Browse the repository at this point in the history
* Spark 3.1.1 shim no longer a snapshot shim

Signed-off-by: Jason Lowe <jlowe@nvidia.com>

* Remove 3.1.0, 3.1.0-SNAPSHOT, and 3.1.1-SNAPSHOT support

* Remove obsolete comment
  • Loading branch information
jlowe authored Mar 2, 2021
1 parent de3a393 commit 242c0e0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
<spark301.version>3.0.1</spark301.version>
<spark301db.version>3.0.1-databricks</spark301db.version>
<spark302.version>3.0.2</spark302.version>
<spark311.version>3.1.1-SNAPSHOT</spark311.version>
<spark311.version>3.1.1</spark311.version>
<mockito.version>3.6.0</mockito.version>
<scala.plugin.version>4.3.0</scala.plugin.version>
<maven.jar.plugin.version>3.2.0</maven.jar.plugin.version>
Expand Down
12 changes: 6 additions & 6 deletions shims/aggregator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,6 @@
<activeByDefault>true</activeByDefault>
</activation>
<dependencies>
<dependency>
<groupId>com.nvidia</groupId>
<artifactId>rapids-4-spark-shims-spark311_${scala.binary.version}</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</profile>
</profiles>
Expand Down Expand Up @@ -103,5 +97,11 @@
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.nvidia</groupId>
<artifactId>rapids-4-spark-shims-spark311_${scala.binary.version}</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>
2 changes: 1 addition & 1 deletion shims/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>spark311</module>
</modules>
</profile>
</profiles>
Expand All @@ -56,6 +55,7 @@
<module>spark301emr</module>
<module>spark301</module>
<module>spark302</module>
<module>spark311</module>
<module>aggregator</module>
</modules>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ package com.nvidia.spark.rapids.shims.spark311
import com.nvidia.spark.rapids.{SparkShims, SparkShimVersion}

object SparkShimServiceProvider {
// keep 3.1.0 snapshot version for now until 3.1.1 is released
val VERSION310 = SparkShimVersion(3, 1, 0)
val VERSION = SparkShimVersion(3, 1, 1)
val VERSIONNAMES = Seq(s"$VERSION310-SNAPSHOT", s"$VERSION", s"$VERSION-SNAPSHOT")
val VERSIONNAMES = Seq(s"$VERSION")
}

class SparkShimServiceProvider extends com.nvidia.spark.rapids.SparkShimServiceProvider {
Expand Down

0 comments on commit 242c0e0

Please sign in to comment.