[
https://issues.apache.org/jira/browse/AIRFLOW-1436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16097478#comment-16097478
]
Victor Duarte Diniz Monteiro commented on AIRFLOW-1436:
-------------------------------------------------------
Hi [~martinzlocha], I have a question about your issue. Are you talking about
*EmrJobFlowSensor* or *EmrStepSensor*? If you are really talking about
*EmrJobFlowSensor*, then it is not about the sensor itself that is wrong, it is
just because _AWS EMR_ does not take into account cancelled jobs to change
_EMR_ instance state to some failure state, it changes to +Waiting+.
I know it does not solve your problem, but maybe one solution is to override
this class and chance what are the failed states.
Maybe we can talk and find a solution. I would be very happy to solve your
problem.
> EmrJobFlowSensor consideres Cancelled step as Successful
> --------------------------------------------------------
>
> Key: AIRFLOW-1436
> URL: https://issues.apache.org/jira/browse/AIRFLOW-1436
> Project: Apache Airflow
> Issue Type: Bug
> Components: aws
> Reporter: Martin Zlocha
> Priority: Trivial
>
> When steps are added to an EMR cluster and then cancelled, the
> EmrJobFlowSensor considers them as successful but they should be failed
> because they didn't complete.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)