-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[flink-runner] Improve Datastream for batch performances #32440
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
Merged
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
df1d56b
[Flink] Set return type of bounded sources
jto ed922af
[Flink] Use a lazy split enumerator for bounded sources
jto 24ce8fa
[Flink] Default to maxParallelism = parallelism in batch
jto b12c87b
[Flink] Avoid re-serializing trigger on every element
jto c8c3f96
[Flink] Avoid re-evaluating options every time a new state is stored
jto f002d49
[Flink] Only serialize states namespace keys if necessary
jto dd734b3
[Flink] Make ToKeyedWorkItem part of the DoFnOperator
jto 89687e9
[Flink] Remove ToBinaryKV
jto b2727c8
[Flink] Refactor CombinePerKeyTranslator
jto feaa32e
[Flink] Combine before Reduce (no side-input only)
jto 0c5237f
[Flink] Combine before GBK
jto 6749b9e
[Flink] Combine before reduce (with side input)
jto 85e58ac
[Flink] Force slot sharing group in batch mode
jto ec10076
[Flink] Disable bundling in batch mode
jto 275b4d8
[Flink] Lower default max bundle size in batch mode
jto d3c4483
[Flink] Code cleanup
jto 352ea78
[Flink] fix WindowDoFnOperatorTest
jto 4532df1
[Flink] spotless
jto 73378a2
[Flink] fix broken tests
jto 615ec19
[Flink] Remove 1.14 compat code
jto fae1902
[Flink] Fix flaky test
jto d81369e
[Flink] Use a custom key type to better distribute load
jto 8fb69f1
[Flink] Add post commit triggers
jto 6c98da6
[Flink] licence
jto 8169038
[Flink] spotless
jto 687113a
Additional Flink github action trigger files
kennknowles 80a7e22
[Flink] fix GBK streaming with side input
jto ac2eddc
[Flink] fix error management in lazy source
jto 2c01ac0
[Flink] disable operator chaining in validatesRunner
jto e359eda
[Flink] fix lazy source enumerator behaviour on error
jto 777dcf7
[Flink] set validates runner parallelism to 1
jto 6161f4e
[Flink] add org.apache.beam.sdk.transforms.ParDoTest to sickbay
jto 7a766f3
[Flink] fix lazy source enumerator behaviour on error (again)
jto e8e00d4
[Flink] merge master
jto f6b8779
[Flink] spotless
jto 10c480c
Merge remote-tracking branch 'origin' into julient/batch-datastream
jto cb9c6b2
[Flink] merge
jto dd23ef0
Disable gradle parallel execution
jto 24a5a51
[Flink] merge again
jto aaaa023
[Flink] Add org.apache.beam.sdk.transforms.ViewTest.testTriggeredLate…
jto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| { | ||
| "comment": "Modify this file in a trivial way to cause this test suite to run", | ||
| "modification": 1, | ||
| "https://github.com/apache/beam/pull/32440": "testing datastream optimizations", | ||
| "https://github.com/apache/beam/pull/32648": "testing addition of Flink 1.19 support" | ||
| } |
3 changes: 2 additions & 1 deletion
3
.github/trigger_files/beam_PostCommit_Java_Examples_Flink.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| { | ||
| "https://github.com/apache/beam/pull/32648": "testing flink 1.19 support" | ||
| "https://github.com/apache/beam/pull/32440": "testing datastream optimizations", | ||
| "https://github.com/apache/beam/pull/32648": "testing flink 1.19 support" | ||
| } |
1 change: 1 addition & 0 deletions
1
.github/trigger_files/beam_PostCommit_Java_PVR_Flink_Batch.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| { | ||
| "comment": "Modify this file in a trivial way to cause this test suite to run", | ||
| "https://github.com/apache/beam/pull/32440": "test new datastream runner for batch" | ||
| "modification": 2 | ||
| } |
2 changes: 2 additions & 0 deletions
2
.github/trigger_files/beam_PostCommit_Java_PVR_Flink_Docker.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,6 @@ | ||
| { | ||
| "comment": "Modify this file in a trivial way to cause this test suite to run", | ||
| "modification": "1" | ||
| "https://github.com/apache/beam/pull/31156": "noting that PR #31156 should run this test", | ||
| "https://github.com/apache/beam/pull/32440": "test new datastream runner for batch" | ||
| } |
3 changes: 2 additions & 1 deletion
3
.github/trigger_files/beam_PostCommit_Java_PVR_Flink_Streaming.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| { | ||
| "comment": "Modify this file in a trivial way to cause this test suite to run", | ||
| "modification": 1 | ||
| "modification": 1, | ||
| "https://github.com/apache/beam/pull/32440": "test new datastream runner for batch" | ||
| } |
1 change: 1 addition & 0 deletions
1
.github/trigger_files/beam_PostCommit_Java_ValidatesRunner_Flink.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| { | ||
| "comment": "Modify this file in a trivial way to cause this test suite to run", | ||
| "https://github.com/apache/beam/pull/32440": "testing datastream optimizations", | ||
| "runFor": "#33606" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| { | ||
| "comment": "Modify this file in a trivial way to cause this test suite to run.", | ||
| "https://github.com/apache/beam/pull/32440": "test new datastream runner for batch" | ||
| "modification": 8 | ||
| } | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| { | ||
| "https://github.com/apache/beam/pull/32648": "testing Flink 1.19 support" | ||
| "https://github.com/apache/beam/pull/32440": "testing datastream optimizations", | ||
| "https://github.com/apache/beam/pull/32648": "testing addition of Flink 1.19 support" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This seems like it could be a problem, actually. Why did you have to do this? Memory pressure on test workers?
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.
Yes I think validate runner was getting OOMKilled