-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[HUDI-5357] Optimize deployment of release artifacts #7419
Conversation
Still need to verify if different avro versions should be set for hive, presto, trino bundles |
# 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" |
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.
The hard code avro version is hard to maintain.
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.
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.
d3b268b
to
5a1be2a
Compare
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