Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test with Spark 3.2.1-SNAPSHOT #3479

Merged
merged 3 commits into from
Sep 15, 2021

Conversation

andygrove
Copy link
Contributor

Change spark320 version to 3.2.1-SNAPSHOT so we can test Spark 3.2 support in CI. This is necessary as a temporary measure until 3.2.0 is released because Spark no longer publishes 3.2.0-SNAPSHOT releases and we depend on a fix that went in since they stopped publishing them.

pom.xml Show resolved Hide resolved
@jlowe jlowe added the build Related to CI / CD or cleanly building label Sep 14, 2021
Copy link
Collaborator

@tgravescs tgravescs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need this too:

+++ b/shims/spark320/src/main/scala/com/nvidia/spark/rapids/shims/spark320/SparkShimServiceProvider.scala
@@ -20,7 +20,9 @@ import com.nvidia.spark.rapids.{SparkShims, SparkShimVersion}

 object SparkShimServiceProvider {
   val VERSION320 = SparkShimVersion(3, 2, 0)
-  val VERSIONNAMES: Seq[String] = Seq(VERSION320)
+  // temporarily allow 3.2.1 while 3.2.0 release candidates are being produced
+  val VERSION321 = SparkShimVersion(3, 2, 1)
+  val VERSIONNAMES: Seq[String] = Seq(VERSION320, VERSION321)
     .flatMap(v => Seq(s"$v", s"$v-SNAPSHOT"))
 }

@@ -19,7 +19,8 @@ package com.nvidia.spark.rapids.shims.spark320
import com.nvidia.spark.rapids.{SparkShims, SparkShimVersion}

object SparkShimServiceProvider {
val VERSION320 = SparkShimVersion(3, 2, 0)
// temporarily allow 3.2.1 while 3.2.0 release candidates are being produced
val VERSION320 = SparkShimVersion(3, 2, 1)
val VERSIONNAMES: Seq[String] = Seq(VERSION320)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

referencing version320 which was removed. Also I think we should leave 320 in there in case someone is using older snapshot.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

never mind on the name, realize VERSION320 just points to 3.2.1. I do think we should leave 3.2.0 as well though

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tgravescs I have updated this now

@abellina abellina requested review from abellina and removed request for abellina September 15, 2021 14:44
@abellina
Copy link
Collaborator

I tested with this diff and I was able to test shuffle with the 3.2.0 shim against spark 3.2.1.

@andygrove andygrove marked this pull request as ready for review September 15, 2021 15:54
@tgravescs
Copy link
Collaborator

build

@tgravescs tgravescs merged commit e6680dd into NVIDIA:branch-21.10 Sep 15, 2021
andygrove added a commit to andygrove/spark-rapids that referenced this pull request Sep 15, 2021
* Test with Spark 3.2.1-SNAPSHOT

Signed-off-by: Andy Grove <andygrove@nvidia.com>

* tests now run against 3.2.1-SNAPSHOT

* address feedback
@andygrove andygrove deleted the spark-3.2-testing branch February 14, 2022 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to CI / CD or cleanly building
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants