Skip to content

Conversation

@VladaZakharova
Copy link
Contributor

In case if the Dataproc cluster was not created successfully the trigger should yield the event with cluster object and cluster_state.
The problem is that from the triggerer we return values that can't be serialized correctly - the whole Cluster object and cluster status in Enum format. It caused crash on triggerer it during execution and endlessly running task. I have fixed this behavior by passing Cluster object as dict and cluster state in string format.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@boring-cyborg boring-cyborg bot added area:providers provider:google Google (including GCP) related issues labels Jul 18, 2025
@potiuk
Copy link
Member

potiuk commented Jul 19, 2025

Nice!

@potiuk
Copy link
Member

potiuk commented Jul 19, 2025

Conflicts need to be resolved though.

# Conflicts:
#
providers/google/tests/unit/google/cloud/triggers/test_dataproc.py
@potiuk potiuk merged commit a2581cc into apache:main Jul 21, 2025
75 checks passed
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