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

[SPARK-48255][BUILD] Guava should not respect hadoop.deps.scope #46556

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pan3793
Copy link
Member

@pan3793 pan3793 commented May 13, 2024

What changes were proposed in this pull request?

This PR changes the guava's scope in assembly/pom.xml from ${hadoop.deps.scope} to compile.

Why are the changes needed?

Guava is not a Hadoop dependency now.

Historically, Spark depends on the Hadoop vanilla client and hence pulls all Hadoop transitive deps, and Guava is one of those. While in SPARK-33212, Spark moved to Hadoop Shaded client for Hadoop3, and in SPARK-42452, Spark dropped support for Hadoop2.

Additionally, Hadoop moved to hadoop-shaded-guava in HADOOP-17288

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Review.

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions github-actions bot added the BUILD label May 13, 2024
@pan3793
Copy link
Member Author

pan3793 commented May 13, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant