Skip to content
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-3798] Remove error check on dataflow when getting batch job state #4871

Conversation

lgajowy
Copy link
Contributor

@lgajowy lgajowy commented Mar 15, 2018

In TestDataflowRunner beam can rely solely on Dataflow job state (for
batch jobs). It it's "DONE", then it means that Dataflow handled any
errors on it's own (eg. by retrying failed bundles). We don't need to
throw them further.

This PR does not fix a streaming scenario. We should fix it on separate
PR later. It still fixes Performance tests that we have now.


Follow this checklist to help us incorporate your contribution quickly and easily:

  • Make sure there is a JIRA issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes.
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
  • Write a pull request description that is detailed enough to understand:
    • What the pull request does
    • Why it does it
    • How it does it
    • Why this approach
  • Each commit in the pull request should have a meaningful subject line and body.
  • Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

In TestDataflowRunner beam can rely solely on Dataflow job state (for
batch jobs). It it's "DONE", then it means that Dataflow handled any
errors on it's own (eg. by retrying failed bundles). We don't need to
throw them further.

This PR does not fix a streaming scenario. We should fix it on separate
PR later. It still fixes Performance tests that we have now.
@lgajowy
Copy link
Contributor Author

lgajowy commented Mar 15, 2018

Run Dataflow ValidatesRunner

@lgajowy
Copy link
Contributor Author

lgajowy commented Mar 15, 2018

@lukecwik could you take a look?

@lukecwik lukecwik merged commit 9f21706 into apache:master Mar 15, 2018
@lgajowy lgajowy deleted the BEAM-3798_fix_performance_test_flakiness_on_dataflow branch April 24, 2018 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants