-
Notifications
You must be signed in to change notification settings - Fork 28.3k
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-49988][BUILD] Remove unused Hadoop dependency management #48491
base: master
Are you sure you want to change the base?
Conversation
--> | ||
<dependency> | ||
<groupId>xerces</groupId> | ||
<artifactId>xercesImpl</artifactId> |
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.
Is it because Apache Spark doesn't require the xerces:xercesImpl
dependency?
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.
If that's the case, should we clean up the corresponding binary LICENSE of xerces:xercesImpl
?
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 a transitive dep of hadoop vanilla client, spark does not directly use 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.
right, updated LICENSE and NOTICE
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 would be best to declare this change in the pr description.
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.
updated
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.
+1, LGTM(pending tests)
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.
Thank you. Is this tested with Maven too, @pan3793 ?
@dongjoon-hyun I tested the maven build, run |
What changes were proposed in this pull request?
Remove unused vanilla hadoop dependency(and transitive deps) management, i.e.
hadoop-client
,xerces:xercesImpl
, and inline deps defined inhadoop3
because it's the only supported hadoop profile.Why are the changes needed?
Simplify pom.xml.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass CI and verified runtime jars are not affected by running
dev/test-dependencies.sh
.Was this patch authored or co-authored using generative AI tooling?
No.