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

check ProcessingJobStatus status before deferring SageMakerProcessingOperator #36658

Conversation

Lee-W
Copy link
Member

@Lee-W Lee-W commented Jan 8, 2024

While running a sagemaker processing job in deferrable mode, the condition might already be met before we defer the task into the trigger. This PR intends to check the job status before deferring the task to trigger.


^ 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 AWS/Amazon - related issues labels Jan 8, 2024
@Lee-W Lee-W changed the title check sagemaker processing job status before deferring check ProcessingJobStatus status before deferring SageMakerProcessingOperator Jan 8, 2024
@Lee-W Lee-W force-pushed the check-sagemaker-processing-job-status-before-deferring branch from cc39d4a to 83261e4 Compare January 8, 2024 15:55
@Lee-W
Copy link
Member Author

Lee-W commented Jan 9, 2024

The static check failure fix is in #36677

@Lee-W Lee-W force-pushed the check-sagemaker-processing-job-status-before-deferring branch from 83261e4 to 952147a Compare January 10, 2024 00:31
@phanikumv phanikumv merged commit 5a6f959 into apache:main Jan 10, 2024
52 checks passed
@phanikumv phanikumv deleted the check-sagemaker-processing-job-status-before-deferring branch January 10, 2024 12:52
abhishekbhakat pushed a commit to abhishekbhakat/my_airflow that referenced this pull request Mar 5, 2024
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.

2 participants