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

Add DatabricksShimVersion to unshimmed class list [databricks] #4921

Merged
merged 5 commits into from
Mar 10, 2022

Conversation

razajafri
Copy link
Collaborator

@razajafri razajafri commented Mar 9, 2022

Reverting changes to the DB SparkShims as part of the #4857. This change was originally envisioned to avoid referencing the ServiceProvider, but in case of DB we are not reusing the SparkShimImpl so we can directly reference it.

Talked to @tgravescs about this and confirmed the correct fix is to "unshim" the DatabricksShimVersion that way the class loader will pick up the correct class.

fixes #4918

Signed-off-by: Raza Jafri rjafri@nvidia.com

Signed-off-by: Raza Jafri <rjafri@nvidia.com>
@razajafri razajafri changed the title fix db test failures fix db test failures [databricks] Mar 9, 2022
@razajafri
Copy link
Collaborator Author

@pxLi PTAL

@razajafri
Copy link
Collaborator Author

build

Signed-off-by: Raza Jafri <rjafri@nvidia.com>
@razajafri
Copy link
Collaborator Author

build

@sameerz sameerz added the bug Something isn't working label Mar 9, 2022
@sameerz sameerz added this to the Feb 28 - Mar 18 milestone Mar 9, 2022
@tgravescs
Copy link
Collaborator

I'm confused by the description here. I don't think this is the right fix. it appears the issue is with classloader and having 2 versions of the DatabricksSparkVersion, I think it needs to be added to the classes we don't shim. We have com/nvidia/spark/rapids/SparkShimVersion and ShimVersion in there already.

@razajafri
Copy link
Collaborator Author

You are right, I wanted to put up this patch to unblock the CI last night. I will put up another PR

This reverts commit 7782695.

Signed-off-by: Raza Jafri <rjafri@nvidia.com>
Signed-off-by: Raza Jafri <rjafri@nvidia.com>
@razajafri
Copy link
Collaborator Author

build

Signed-off-by: Raza Jafri <rjafri@nvidia.com>
@razajafri
Copy link
Collaborator Author

build

@jlowe jlowe changed the title fix db test failures [databricks] Add DatabricksShimVersion to unshimmed class list [databricks] Mar 9, 2022
@pxLi pxLi merged commit afe06c5 into NVIDIA:branch-22.04 Mar 10, 2022
@razajafri razajafri deleted the SR-4918-db-fix branch March 10, 2022 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] databricks nightly build failed
5 participants