Skip to content

fix: dataproc retries #10777

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 6 commits into from
Oct 19, 2023
Merged

fix: dataproc retries #10777

merged 6 commits into from
Oct 19, 2023

Conversation

leahecole
Copy link
Collaborator

@leahecole leahecole commented Oct 17, 2023

Description

Using backoff to retry when the cluster is in an error state will lead to some additional cases where we retry and don't want to. This is a manual retry that will only trip if the cluster somehow has an error during creation.

I also did a refactor of submit_job_test to make it look more like update_cluster_test because it was a little funky

Fixes #9445
Fixes #9513

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Checklist

@leahecole leahecole requested review from a team as code owners October 17, 2023 20:44
@product-auto-label product-auto-label bot added samples Issues that are directly related to samples. api: dataproc Issues related to the Dataproc API. labels Oct 17, 2023
@m-strzelczyk m-strzelczyk merged commit 07e80d4 into main Oct 19, 2023
@m-strzelczyk m-strzelczyk deleted the fix_dataproc branch October 19, 2023 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: dataproc Issues related to the Dataproc API. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dataproc.snippets.submit_job_test: test_submit_job failed dataproc.snippets.update_cluster_test: test_update_cluster failed
4 participants