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-5357] Optimize deployment of release artifacts #7419

Merged
merged 1 commit into from Dec 16, 2022

Conversation

xushiyan
Copy link
Member

@xushiyan xushiyan commented Dec 9, 2022

Change Logs

Optimize upload release artifacts.

flink bundle use 1.10.0 avro version, but hudi common modes were generated during build process controlled by avro.version property, which is not overwritten in flink profiles. This would resulted in generated models being incompatible with included avro lib in flink-bundle.

This change makes sure flink bundle is built and released with the desired avro version and hudi-common models

Fix #7259
Fix #7047

JIRA

Impact

Release artifacts

Risk level

High.

Needs proper validation of the artifacts.

Documentation Update

NA

Contributor's checklist

  • Read through contributor's guide
  • Change Logs and Impact were stated clearly
  • Adequate tests were added if applicable
  • CI passed

@xushiyan
Copy link
Member Author

xushiyan commented Dec 9, 2022

Still need to verify if different avro versions should be set for hive, presto, trino bundles

@xushiyan xushiyan added dependencies Pull requests that update a dependency file priority:blocker release-0.12.2 Patches targetted for 0.12.2 labels Dec 14, 2022
# flink bundles (overwriting previous uploads)
"-Dscala-2.12 -Dflink1.13 -Davro.version=1.10.0 -pl packaging/hudi-flink-bundle"
"-Dscala-2.12 -Dflink1.14 -Davro.version=1.10.0 -pl packaging/hudi-flink-bundle"
"-Dscala-2.12 -Dflink1.15 -Davro.version=1.10.0 -pl packaging/hudi-flink-bundle"
Copy link
Contributor

Choose a reason for hiding this comment

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

The hard code avro version is hard to maintain.

Copy link
Member Author

Choose a reason for hiding this comment

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

unfortunately this is a short term workaround. Putting this in flink profiles under pom.xml will conflict with spark profiles, which interfere with current build commands used in azure CI, which takes much more efforts to resolve. Due to time constraint, overwriting the version from maven cmd is the shortest solution.

@xushiyan xushiyan changed the title [WIP][HUDI-5357] Optimize deployment of release artifacts [WIP][HUDI-5251][HUDI-5357] Optimize deployment of release artifacts Dec 15, 2022
@xushiyan xushiyan changed the title [WIP][HUDI-5251][HUDI-5357] Optimize deployment of release artifacts [WIP][HUDI-5357] Optimize deployment of release artifacts Dec 16, 2022
@xushiyan xushiyan marked this pull request as ready for review December 16, 2022 16:17
@xushiyan xushiyan changed the title [WIP][HUDI-5357] Optimize deployment of release artifacts [HUDI-5357] Optimize deployment of release artifacts Dec 16, 2022
@xushiyan xushiyan added the pr:wip Work in Progress/PRs label Dec 16, 2022
@nsivabalan nsivabalan merged commit 834a0be into apache:master Dec 16, 2022
@xushiyan xushiyan deleted the HUDI-5357-release-deployment branch December 17, 2022 12:20
fengjian428 pushed a commit to fengjian428/hudi that referenced this pull request Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file pr:wip Work in Progress/PRs priority:blocker release-0.12.2 Patches targetted for 0.12.2
Projects
Status: ✅ Done
3 participants