-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
Missing LogUri from emr describe-cluster API when executing EmrCreateJobFlowOperator #31480
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval. |
When EMR describe-cluster, does not have LogURI information, we should silently skip persisting the link to XCom rather than fail on KeyError. Fixes: apache#31480
… of EmrCreateJobFlowOperator EmrCreateJobFlowOperator now fails due to apache/airflow#31480 #1120, #1121, #1123
… of EmrCreateJobFlowOperator EmrCreateJobFlowOperator now fails due to apache/airflow#31480 #1120, #1121, #1123
… of EmrCreateJobFlowOperator EmrCreateJobFlowOperator now fails due to apache/airflow#31480 #1120, #1121, #1123
The |
* fix(providers/amazon): handle missing LogUri in emr describe_cluster API response #31480 * fix(providers/amazon): disable EMR cluster log link if the log_uri is not found * fix(providers.amazon): add test cases to get_log_uri
Apache Airflow version
main (development)
What happened
Encounter the following error when executing
EmrCreateJobFlowOperator
According to the this document, it seems we might not always be able to get
["Cluster"]["LogUri"]
and we encounter errors after the release in #31322.What you think should happen instead
The
EmrCreateJobFlowOperator
should finish execution without error.How to reproduce
git clone github.com/apache/airflow/
cd airflow
git checkout c082aec089405ed0399cfee548011b0520be0011
(the main branch when I found this issue)files/dags/
and name it asexample_emr.py
breeze --python 3.8 --backend sqlite start-airflow
Operating System
mac OS 13.4
Versions of Apache Airflow Providers
No response
Deployment
Astronomer
Deployment details
No response
Anything else
#31322 (comment)
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: