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

[HUDI-3588] Remove hudi-common and hudi-hadoop-mr jars in Presto Docker image #4997

Merged
merged 1 commit into from
Mar 16, 2022

Conversation

yihua
Copy link
Contributor

@yihua yihua commented Mar 9, 2022

What is the purpose of the pull request

The latest master of Presto relies on hudi-presto-bundle, while current Presto releases rely on hudi-common and hudi-hadoop-mr 0.9.0, which are pulled in plugin/hive-hadoop2/ in the Docker setup, making it hard to test the latest changes in Hudi due to class conflict.

As a temporary workaround, this PR removes hudi-common-0.9.0.jar and hudi-hadoop-mr-0.9.0.jar in plugin/hive-hadoop2/ to avoid conflicts with latest hudi-presto-bundle.jar, which is copied from the build. This PR also upgrades Presto to 0.271, so that the new presto docker image is pushed to apachehudi/hudi-hadoop_2.8.4-prestobase_0.271:latest. In this way, if there is any issue with the changes in this PR, we can roll this back without any side effect.

Brief change log

  • Removes hudi-common-0.9.0.jar and hudi-hadoop-mr-0.9.0.jar within plugin/hive-hadoop2/ in docker/hoodie/hadoop/prestobase/Dockerfile
  • Upgrades Presto from 0.268 to 0.271 in Docker setup
  • Pushes new Presto Docker image to apachehudi/hudi-hadoop_2.8.4-prestobase_0.271:latest

Verify this pull request

This pull request is already covered by existing integration tests.

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 requested a review from codope March 9, 2022 06:55
@hudi-bot
Copy link

hudi-bot commented Mar 9, 2022

CI report:

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

Copy link
Contributor

@nsivabalan nsivabalan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
I assume from a presto standpoint, we will never go back to not using hudi-presto-bundle and hence the proposed fixed is ok for me.
But lets get it stamped with @codope once.

@yihua yihua merged commit 296a0e6 into apache:master Mar 16, 2022
vingov pushed a commit to vingov/hudi that referenced this pull request Apr 3, 2022
stayrascal pushed a commit to stayrascal/hudi that referenced this pull request Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants