-
Notifications
You must be signed in to change notification settings - Fork 2.5k
[HUDI-8179] Upgrade hudi flink connector to 1.20.0 #11966
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
Conversation
|
@danny0405 please let me know if anything else is required here. |
|
@guptashailesh92 Thanks for the contribution, have you already referenced #11779 for the changes? Especially we need to upload the docker images for bundle validation tests, only Hudi PMC got permission do do this now. |
|
Yes, i used the referenced cr: #11779 for raising this CR. |
| <flink.avro.version>1.11.1</flink.avro.version> | ||
| <flink.format.parquet.version>1.13.1</flink.format.parquet.version> | ||
| <flink.connector.kafka.version>3.2.0-1.19</flink.connector.kafka.version> | ||
| <!-- check kafka version --> |
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.
Is this right?
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.
I see the discussion regarding flink connector kafka version to 1.20, but it has not been release yet.
apache/flink-connector-kafka#111
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.
got it.
CTTY
left a comment
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.
Note:
hudi-flink1.20.xis a copy of existinghudi-flink1.19.xwith only version changes, there is no changes made to adapt to Flink upgrade.- This change has passed EMR Hudi integtest.
Left some minor comments around avro version
| "-Dscala-2.12 -Dflink1.17 -Davro.version=1.11.1 -pl packaging/hudi-flink-bundle -am" | ||
| "-Dscala-2.12 -Dflink1.18 -Davro.version=1.11.1 -pl packaging/hudi-flink-bundle -am" | ||
| "-Dscala-2.12 -Dflink1.19 -Davro.version=1.11.1 -pl packaging/hudi-flink-bundle -am" | ||
| "-Dscala-2.12 -Dflink1.20 -Davro.version=1.11.1 -pl packaging/hudi-flink-bundle -am" |
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.
avro version here should be 1.11.3
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.
true
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.
updated. thanks for the review.
pom.xml
Outdated
| <hudi.flink.module>hudi-flink1.20.x</hudi.flink.module> | ||
| <flink.bundle.version>1.20</flink.bundle.version> | ||
| <!-- This is fixed to match with version from flink-avro --> | ||
| <flink.avro.version>1.11.1</flink.avro.version> |
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.
We should update this avro version as well since we are changing the default flink version to 1.20
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.
+1
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.
updated.
yihua
left a comment
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.
I've built and uploaded the following bundle validation docker images to the Docker Hub, based on the scripts in this PR:
| HIVE_VERSION=3.1.3 | ||
| DERBY_VERSION=10.14.1.0 | ||
| FLINK_VERSION=1.19.0 | ||
| FLINK_VERSION=1.20.0 |
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 image tag IMAGE_TAG needs to be updated to properly test Hudi Flink bundle on the latest Flink version.
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.
updated.
|
@guptashailesh92 Hi, the
But I still didn't find the root cause, maybe you can spend with your spare time to do some research. |
|
@guptashailesh92 I have addressed the issues of the test failure, it is because we have conflict dependency of reload4j in the classpath, it includes the legacy slf4j MDC adapter The solution is to remove the reload4j related jars because we already have |
|
thank you @danny0405, I am little occupied with things, haven't been able to spend much time. |
Change Logs
Upgrade hudi flink connector to 1.20.0
Impact
Added hudi flink connector for 1.20.0.
Risk level (write none, low medium or high below)
medium
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none".
none
Contributor's checklist