-
Notifications
You must be signed in to change notification settings - Fork 230
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
Add missed shims for scala2.13 #10465
Conversation
Signed-off-by: Tim Liu <timl@nvidia.com>
build |
According to the PR checks spark-rapids-private sclala2.13 shims for 334 and 342 are not published either |
340, | ||
341, | ||
342, | ||
350 | ||
</noSnapshotScala213.buildvers> | ||
<snapshotScala213.buildvers> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to add 351 to snapshotScala213.buildvers
as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to add 351 to
snapshotScala213.buildvers
as well
We do not support 3.5.1 in 24.02, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is for 24.02 release build, snapshot shim doesn't matter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to add 351 to
snapshotScala213.buildvers
as well
Good catch! Let me update it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to add 351 to
snapshotScala213.buildvers
as wellWe do not support 3.5.1 in 24.02, right?
Yes, we only build/test against spark-3.5.1-SNAPSHOT
Signed-off-by: Tim Liu <timl@nvidia.com>
Oops, spark released 3.5.1 days ago : https://archive.apache.org/dist/spark/spark-3.5.1/ But apache spark does not announce it in its download page: https://spark.apache.org/docs/latest/ For branch-24.02, we'd better remove 351 from list instead? For branch-24.04, we should move 351 into |
Yes, as private v24.02.0 dependency jars have been published to maven central without we'll re-publish v24.02.1 private jars to maven central including the then change the spark-rapids-private dependency to v24.02.1 here again to PASS the pre-merge. |
Yes we can remove 351 from 24.02 and add to 24.04. |
Signed-off-by: Tim Liu <timl@nvidia.com>
350 | ||
</noSnapshotScala213.buildvers> | ||
<snapshotScala213.buildvers> | ||
351 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, we should remove this too since it is removed from snapshot.buildvers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I forget it, let me update
Signed-off-by: Tim Liu <timl@nvidia.com>
build |
I'll try to remove 351 shim source code to PASS the mvn build. @razajafri can you help review it? Thanks! |
Ran `mvn generate-sources -Dshimplify=true -Dshimplify.move=true -Dshimplify.remove.shim=351` to remove 351 shim's jason string, and fix some unnecessary empty lines that were introduced Signed-off-by: Tim Liu <timl@nvidia.com>
The pre-merge CI always failed due to no spark-rapids-private spark334/spark342 v24.02.0 shims until we release the new v24.02.1 private jars (which will definitely including 334/342shims) |
Auto copyright by below scripts ``` export SPARK_RAPIDS_AUTO_COPYRIGHTER=ON ./scripts/auto-copyrighter.sh $(git diff --name-only origin/branch-24.04..HEAD) ``` Signed-off-by: Tim Liu <timl@nvidia.com>
Move 351 shims into noSnapshot buildvers as spark has release it. Follow up of NVIDIA#10465 (comment) Signed-off-by: Tim Liu <timl@nvidia.com>
* Move 351 shims into noSnapshot buildvers Move 351 shims into noSnapshot buildvers as spark has release it. Follow up of #10465 (comment) Signed-off-by: Tim Liu <timl@nvidia.com> * 351 shim for scala 2.13 Signed-off-by: Tim Liu <timl@nvidia.com> --------- Signed-off-by: Tim Liu <timl@nvidia.com>
@@ -36,7 +36,6 @@ | |||
{"spark": "341db"} | |||
{"spark": "342"} | |||
{"spark": "350"} | |||
{"spark": "351"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does this PR remove 351 when it says it's adding shims?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's actually adding the 334 and 342 shim versions to the pom file for scala 2.13.
351 context is here: #10465 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should not be removing 351 in the source code this late. Do we want to not build 351 support in the 24.02 jar? Fine. But this much source churn this late is not good. Modify the pom to not ask for a 351 build rather than fully ripping out the source code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And this will cause a merge nightmare for 24.04 if done this way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And this will cause a merge nightmare for 24.04 if done this way.
exactly
build |
@jlowe PTAL |
build |
Run the script `bash build/make-scala-version-build-files.sh 2.13` Signed-off-by: Tim Liu <timl@nvidia.com>
build |
Signed-off-by: Gera Shegalov <gera@apache.org>
Signed-off-by: Tim Liu <timl@nvidia.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to be clean now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
premerge failed: rebuild
|
build |
* Update rapids jni and private dependency version to 24.02.1 (#10511) Signed-off-by: Tim Liu <timl@nvidia.com> * Add missed shims for scala2.13 (#10465) * Add missed shims for scala2.13 Signed-off-by: Tim Liu <timl@nvidia.com> * Add 351 snapshot shim for the scala2.13 version of plugin jar Signed-off-by: Tim Liu <timl@nvidia.com> * Remove 351 snapshot shim as spark 3.5.1 has been released Signed-off-by: Tim Liu <timl@nvidia.com> * Remove scala2.13 351 snapshot shim Signed-off-by: Tim Liu <timl@nvidia.com> * Remove 351 shim's jason string Ran `mvn generate-sources -Dshimplify=true -Dshimplify.move=true -Dshimplify.remove.shim=351` to remove 351 shim's jason string, and fix some unnecessary empty lines that were introduced Signed-off-by: Tim Liu <timl@nvidia.com> * Update Copyright 2024 Auto copyright by below scripts ``` export SPARK_RAPIDS_AUTO_COPYRIGHTER=ON ./scripts/auto-copyrighter.sh $(git diff --name-only origin/branch-24.04..HEAD) ``` Signed-off-by: Tim Liu <timl@nvidia.com> * Revert "Update Copyright 2024" This reverts commit 8482847. * Revert "Remove 351 shim's jason string" This reverts commit 78d1f00. * skip 351 from strict checking * Alien scala2.13/pom.xml to scala2.12 one Run the script `bash build/make-scala-version-build-files.sh 2.13` Signed-off-by: Tim Liu <timl@nvidia.com> * pretend 351 is a snapshot in 24.02 Signed-off-by: Gera Shegalov <gera@apache.org> * pretend 351 is a SNAPSHOT version * Revert change of build/shimplify.py Signed-off-by: Tim Liu <timl@nvidia.com> --------- Signed-off-by: Tim Liu <timl@nvidia.com> Signed-off-by: Gera Shegalov <gera@apache.org> Co-authored-by: Raza Jafri <rjafri@nvidia.com> Co-authored-by: Gera Shegalov <gera@apache.org> * Update changelog for v24.02.0 release (#10525) Signed-off-by: Tim Liu <timl@nvidia.com> --------- Signed-off-by: Tim Liu <timl@nvidia.com> Signed-off-by: Gera Shegalov <gera@apache.org> Co-authored-by: Raza Jafri <rjafri@nvidia.com> Co-authored-by: Gera Shegalov <gera@apache.org>
Add spark334 and spark342 shims for the private scala2.13 jars
To fix: #10464