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

Make EMR Container Trigger max attempts retries match the Operator #41008

Merged

Conversation

o-nikolas
Copy link
Contributor

@o-nikolas o-nikolas commented Jul 24, 2024

The EMR Container Operator will wait indefinitely by default (on the wait for completion path) however when it is deferred the Trigger has a default timeout of 600s which does not match the user's expectations when using the operator.

Update the Trigger to have an infinite try count by default to match the Operator behaviour.

fixes #40483


^ 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 newsfragments.

The EMR Container Operator will wait indefinitely by default (on the
wait for completion path) however when it is deferred the Trigger has a
default timeout of 600s which does not match the user's expectations
when using the operator.

Update the Trigger to have an infinite try count by default to match the
Operator behaviour.
@o-nikolas o-nikolas requested a review from eladkal as a code owner July 24, 2024 18:11
@boring-cyborg boring-cyborg bot added area:providers provider:amazon-aws AWS/Amazon - related issues labels Jul 24, 2024
@o-nikolas
Copy link
Contributor Author

@akomisarek

Can you have a look at this in regards to your issue #40483

@akomisarek
Copy link

Thanks, a lot it seems it would solve part of our problems! :)

@vincbeck vincbeck merged commit c519920 into apache:main Jul 26, 2024
52 checks passed
@vincbeck vincbeck deleted the onikolas/emr_container_trigger_timeout branch July 26, 2024 20:52
molcay pushed a commit to VladaZakharova/airflow that referenced this pull request Aug 19, 2024
…pache#41008)

The EMR Container Operator will wait indefinitely by default (on the
wait for completion path) however when it is deferred the Trigger has a
default timeout of 600s which does not match the user's expectations
when using the operator.

Update the Trigger to have an infinite try count by default to match the
Operator behaviour.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers provider:amazon-aws AWS/Amazon - related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EmrContainerOperator in Async mode doesn't respect default "infinite" polling number
5 participants