[HUDI-1289] Remove shading pattern for hbase dependencies in hudi-spark-bundle#2147
Conversation
|
@rmpifer as a quick check, is it possible to shade all the deps of Hbase, leaving hbase classes themselves unshaded? The most concern we have is around guava etc conflicting with what spark/presto use |
|
@rmpifer if you can confirm the above, we can land this. otherwise LGTM |
|
@rmpifer A couple of points:
|
|
@vinothchandar Sorry I've been caught up in some other obligations. We would have to explicitly add the dependencies we want to shade from hbase. If the biggest concern is around guava conflicts I think we may just want to include this for now. @umehrot2 I'm ok with updating this in |
…f guava in hadoop, spark, and presto bundles
7b01660 to
755f3fe
Compare
vinothchandar
left a comment
There was a problem hiding this comment.
Approach looks good to me.
|
@rmpifer We might need to remove this hbase relocation from hudi-utilities-bundle as well. Ran into this issue when using DeltaStreamer without HBASE index and in EMR 5.31.0 with security configs. The job failed as soon as it started. Saw errors similar to #2100 . But was able to quickly verify that on removing this relocation from the hudi-utilities-bundle bundle, the job ran fine. |
…dd shading of guava in hadoop, spark, and presto bundles (apache#2147) - Update hudi-spark-bundle pom to not relocate hbase and htrace pattern - Remove codec relocation as this is not included in bundle which was causing error
Tips
What is the purpose of the pull request
Hbase index currently does not work due to relocation when only using hudi-spark-bundle
Brief change log
Verify this pull request
Committer checklist
Has a corresponding JIRA in PR title & commit
Commit message is descriptive of the change
CI is green
Necessary doc changes done or have another open PR
For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.