-
Notifications
You must be signed in to change notification settings - Fork 2.5k
[HUDI-5731] Add guava dependency to Spark and MR bundle #7898
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
Conversation
|
@pan3793 first found this problem. |
alexeykudinkin
left a 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.
Thanks for contributing @KnightChess!
I don't think this is the right solution though -- bundling guava severely exposes Hudi to potential conflicts when running environment in turn provides Guava as well
yihua
left a 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 can land this one as this brings back Guava dependencies as before such as 0.12.0 release. The shading and other issues should be tackled separately.
|
After some discussions we agreed on following
|
|
#7900 is addressing this properly by removing unnecessary relocations |
|
@yihua @alexeykudinkin : Should this be closed since #7900 is landed ? |
|
@bvaradar yes, we can close this one |
Change Logs
Add guava dependency to Spark and MR bundle
Impact
Configure guava relocation in Spark and MR bundle pom.xml, but there is no guava dependency, resulting in failure of guava-related class loading.
[HUDI-4482] remove guava and use caffeine instead for cache (#6240)
Risk level (write none, low medium or high below)
Documentation Update
Contributor's checklist