ferruzzi commented on a change in pull request #21423:
URL: https://github.com/apache/airflow/pull/21423#discussion_r802956631
##########
File path: airflow/providers/amazon/aws/hooks/emr.py
##########
@@ -114,6 +114,12 @@ class EmrContainerHook(AwsBaseHook):
"CANCEL_PENDING",
)
SUCCESS_STATES = ("COMPLETED",)
+ TERMINAL_STATES = (
+ "COMPLETED",
+ "FAILED",
+ "CANCELLED",
+ "CANCEL_PENDING",
Review comment:
I don't know the EMR behavior well enough to say. If you feel it's
intentional and the right thing to do, then leave it in. Just asking because
the name strikes me as an intermediate state.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]