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

Add handling state of existing Dataproc batch #24924

Conversation

danielvdende
Copy link
Contributor

This change avoids Airflow marking tasks as 'Success' even if the
existing Batch is in a 'Failed' state. We check the various states,
and ensure that the Airflow task state reflects the actual state of
the Dataproc Batch.

An additional test was added to cover this behaviour.

@boring-cyborg boring-cyborg bot added area:providers provider:google Google (including GCP) related issues labels Jul 8, 2022
This change avoids Airflow marking tasks as 'Success' even if the
existing Batch is in a 'Failed' state. We check the various states,
and ensure that the Airflow task state reflects the actual state of
the Dataproc Batch.
@danielvdende danielvdende force-pushed the dvde/avoid-marking-failing-dataproc-batch-success branch from 7089b2c to 70dc4a1 Compare July 8, 2022 13:05
@potiuk
Copy link
Member

potiuk commented Jul 12, 2022

Nice!

@potiuk potiuk merged commit b777514 into apache:main Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers provider:google Google (including GCP) related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants