Skip to content

Conversation

@yihua
Copy link
Contributor

@yihua yihua commented Apr 22, 2022

What is the purpose of the pull request

This PR adds the missing artifact of hbase-server and commons-lang3 and removes unused hbase-protocol in presto bundle. This PR also removes hbase-annotations (only test annotation classes that are not needed in production) from trino bundle.

Brief change log

  • Adds org.apache.hbase:hbase-server and org.apache.commons:commons-lang3 in the shading include rule and removes org.apache.hbase:hbase-protocol (not used) in presto bundle. The commons-lang3 is also shaded.
  • Removes org.apache.hbase:hbase-annotations from trino bundle

Verify this pull request

After switching DEFAULT_METADATA_ENABLE_FOR_READERS to true to enable metadata table reading during queries, the CI passes after this fix (it is broken before this fix).

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.

@yihua yihua force-pushed the HUDI-3948-fix-presto-bundle branch from ca26692 to 2bcba4a Compare April 22, 2022 19:35
@yihua yihua changed the title [HUDI-3948] Fix presto bundle missing HBase classes [HUDI-3948] Fix presto bundle missing HBase classes and adjust all bundles Apr 22, 2022
@nsivabalan nsivabalan added the priority:blocker Production down; release blocker label Apr 22, 2022
@yihua yihua force-pushed the HUDI-3948-fix-presto-bundle branch from 2bcba4a to 56b7136 Compare April 23, 2022 00:34
@yihua yihua changed the title [HUDI-3948] Fix presto bundle missing HBase classes and adjust all bundles [HUDI-3948] Fix presto bundle missing HBase classes Apr 23, 2022
@yihua
Copy link
Contributor Author

yihua commented Apr 23, 2022

@hudi-bot run azure

@hudi-bot
Copy link
Collaborator

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

@xushiyan xushiyan merged commit 8633bd6 into apache:master Apr 23, 2022
@codope
Copy link
Member

codope commented Apr 23, 2022

This has bloated the hudi-presto-bundle size (now it's ~33mb almost 2x). But, let's land this now and work on optimizung the bundle later. HUDI-3956 to track it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:blocker Production down; release blocker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants