-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
GlueJobOperator stuck in running state, even when the job is completed on AWS, when Verbose=True #44694
Comments
I modified the glue.py(in aws provider 9.1.0) hook's
Task logs are attached |
Issue seems to be that, |
Intresting timing. there was a fix about verbose for GlueJobTrigger #43622 |
@eladkal, I don't think the fix in #43622 is relevant here(Or maybe you were just mentioning about it). Issue happens in both deferrable and non-deferrable mode. Also, I noticed that this issue happens only with one of our customers' AWS accounts. I checked with my personal AWS account with exact permissions, and I can't replicate it. This makes me think there's some edge case in Boto3's paginate, which we need to handle in the provider code. |
I can't seem to reproduce this on my laptop either, but would adding a call to get_job_state here do the trick? Something along the lines of:
|
@ferruzzi , I'll give this a try and give you an update. |
Apache Airflow Provider(s)
amazon
Versions of Apache Airflow Providers
apache-airflow-providers-amazon==9.1.0
Apache Airflow version
2.10.3
Operating System
ubuntu-22.04
Deployment
Astronomer
Deployment details
No response
What happened
GlueJobOperator was stuck in running for a long time, while the actual Glue job on AWS took a minute to complete. This is only happening when Verbose is set to Truehappens
What you think should happen instead
It should not get stuck for a long time when Verbose is set to True
How to reproduce
I used the following DAG Code:
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: