Skip to content

Conversation

@hussein-awala
Copy link
Member

closes: #32137

This PR adds a new boolean parameter stop_job_run_on_kill to GlueJobOperator, when it is set to True, the Glue job run will be stopped if the TI is killed (because of a timeout or a SIGTERM/clear).


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

@boring-cyborg boring-cyborg bot added area:providers provider:amazon AWS/Amazon - related issues labels Jun 26, 2023
@hussein-awala hussein-awala added the type:new-feature Changelog: New Features label Jun 26, 2023
Copy link
Contributor

@vincbeck vincbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A simple nit. I think glue_job can be confusing and can make you think you return the actual glue job

@hussein-awala
Copy link
Member Author

@vincbeck @o-nikolas Thank you for your suggestion. Could you please take a second look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:amazon AWS/Amazon - related issues type:new-feature Changelog: New Features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AWS - GlueJobOperator - stop job on task stop

3 participants