-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[Beam#25046]add support for flink 1.16 for Beam Flink Runner #25584
Conversation
Assigning reviewers. If you would like to opt out of this review, comment R: @damccorm for label python. Available commands:
The PR bot will only process comments in the main thread (not review comments). |
Codecov Report
@@ Coverage Diff @@
## master #25584 +/- ##
==========================================
- Coverage 72.80% 72.79% -0.01%
==========================================
Files 775 775
Lines 102866 102866
==========================================
- Hits 74887 74877 -10
- Misses 26524 26534 +10
Partials 1455 1455
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@@ -38,5 +38,5 @@ javaVersion=1.8 | |||
docker_image_default_repo_root=apache | |||
docker_image_default_repo_prefix=beam_ | |||
|
|||
flink_versions=1.12,1.13,1.14,1.15 | |||
flink_versions=1.12,1.13,1.14,1.15,1.16 |
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.
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.
By looking at pr history, adding and removing flink versions happen in different prs. So for this pr, we can add the support for 1.16. In the future we can remove 1.12 support.
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.
Last time this was discussed ~2y ago the idea was to maintain the supported versions by Flink (1.16, 1.15) + one older version (1.14). So we should definitely get rid of 1.12 and probably 1.13. Of course an email to the dev@ mailing list would be a good idea, and maybe to put a warning in advance for the next release.
runners/flink/1.16/src/test/java/org/apache/beam/runners/flink/MiniClusterCompat.java
Outdated
Show resolved
Hide resolved
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.
LGTM!
@iemejia : hey, Ismael, do you have time to take a quick look at this pr? It's for upgrading to Flink 1.16. Thanks. |
Run Java_PVR_Flink_Batch PreCommit |
Run Java_Kafka_IO_Direct PreCommit |
Run Java Tests |
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.
LGTM.
unit test not running. We need to add two lines here: Line 244 in dcfaddd
|
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.
test passed, thanks, LGTM
* [Beam#25046]add support for flink 1.16 for Beam Flink Runner (apache#25584) (cherry picked from commit de71d13) * bump Beam version * fix spotless check --------- Co-authored-by: Yanan Hao <[email protected]>
Sorry I was OOO and missed this one. Looks right, thanks @yananhao12 ! |
great news... now when can we expect the maven repo to be updated? the docker images to run beam on Flink try to load the jars from there but they are not found.
|
@streamnsight This will be shipped with Beam 2.47.0 which has not been released. Scheduled late April. |
@streamnsight are you running beam at development branch (master)? For released version (2.46.0) it should use flink 1.15 by default; I am confused that the message shows the version is 2.47.0 which does not exist yet (not 2.47.0-SNAPSHOT) |
#25046: add support for flink 1.16 for Beam Flink Runner
Incompatibility fixed: use TestBaseUtils.compareResultsByLinesInMemory directly in tests since AbstractTestBase no longer inherits TestBaseUtils
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
addresses #123
), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, commentfixes #<ISSUE NUMBER>
instead.CHANGES.md
with noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI.