Uh oh!
There was an error while loading. Please reload this page.
[BEAM-10670] Make Read execute as a splittable DoFn by default for the Java DirectRunner. - #12519
Conversation
There was a problem hiding this comment.
This is effectively a duplicate of AvroIOTest$SimpleTests.testReadDisplayData and doesn't need to a be a validates runner test since it doesn't run a pipeline.
There was a problem hiding this comment.
(here and below) This was previously throwing the top level exception but DirectRunner wraps ParDo exceptions with PipelineExecutionException but BoundedSource/UnboundedSource used a different code path and hence a different exception handling path.
There was a problem hiding this comment.
Effectively a duplicate of testReadDisplayData just above.
R: @boyuanzz Discussion in https://lists.apache.org/thread.html/r1ba6fe6ac2bd2b28aa7ef31f0d87ad716fc878f2515085fdbc275333%40%3Cdev.beam.apache.org%3E but I would like to get this reviewed and be able to merge it once that discussion subsides. |
lukecwik
commented
Aug 10, 2020
Run Java PreCommit |
lukecwik
commented
Aug 11, 2020
Run JavaPortabilityApiJava11 PreCommit |
There was a problem hiding this comment.
| * containanyprimitivereads. | |
| * containanyprimitivereadswhenuse_deprecated_readisnotspecified. |
There was a problem hiding this comment.
Is it possible to make beam_fn_api_use_deprecated_read and use_deprecated_read into one use_deprecated_read since they seem to the same.
There was a problem hiding this comment.
I wanted to use one that wasn't coupled to beam_fn_api so that users of non portable pipelines wouldn't be confused. I also don't want to impact existing users until we start removing the experiment so I needed to support both.
There was a problem hiding this comment.
Can we add one block to test using use_deprecated_read ?
There was a problem hiding this comment.
Is it because we have checkDone now?
There was a problem hiding this comment.
I added this check back and altered how we were passing forward the self-checkpoing signal from the UnboundedSource through the SDF wrapper instead.
The check is valid.
lukecwik
commented
Aug 11, 2020
Thanks for taking a look, I'm going to break this up into a few PRs to separate it from what was needed for the DirectRunner. |
lukecwik
commented
Aug 12, 2020
…e Java DirectRunner.
lukecwik
commented
Aug 14, 2020
Run Python2_PVR_Flink PreCommit |
boyuanzz
commented
Aug 14, 2020
I think something for :sdks:go:buildLinuxAmd64 is broken. I also got similar errors from my PR which is unexpected. |
lukecwik
commented
Aug 15, 2020
Run Java PreCommit |
lukecwik
commented
Aug 15, 2020
Run Portable_Python PreCommit |
lukecwik
commented
Aug 15, 2020
Run Python2_PVR_Flink PreCommit |
lukecwik
commented
Aug 15, 2020
Run Java PreCommit |
2 similar comments
lukecwik
commented
Aug 15, 2020
Run Java PreCommit |
lukecwik
commented
Aug 15, 2020
Run Java PreCommit |
lukecwik
commented
Aug 15, 2020
Run Java PreCommit |
1 similar comment
lukecwik
commented
Aug 15, 2020
Run Java PreCommit |
tvalentyn
commented
Aug 21, 2020
It appears as though this change has increased the volume of Java Precommit warning output ~4x. https://ci-beam.apache.org/job/beam_PreCommit_Java_Cron/3124 lists this as the single change. Console output for previous build is 3MB: https://ci-beam.apache.org/job/beam_PreCommit_Java_Cron/3123/console and has lots of entries like: cc: @abhiy13 who brought this to my attention. |
lukecwik
commented
Aug 21, 2020
|
iemejia
commented
Aug 25, 2020
From looking at the Nexmark tests it seems this change improved the performance of the DirectRunner in almost all queries considerably, this is interesting! I expected worse because of the extra translation but I did not see any change that made sense to me, but well I suppose this is more the consequences of previous PRs, anyway just letting this as a note. |
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
R: @username).[BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replaceBEAM-XXXwith the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.CHANGES.mdwith noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
Post-Commit Tests Status (on master branch)
Pre-Commit Tests Status (on master branch)
See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI.