[ 
https://issues.apache.org/jira/browse/AIRFLOW-6541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17018572#comment-17018572
 ] 

ASF subversion and git services commented on AIRFLOW-6541:
----------------------------------------------------------

Commit 599e4791c91cff411b1bf1c45555db5094c2b420 in airflow's branch 
refs/heads/master from Mustafa Gök
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=599e479 ]

[AIRFLOW-6541] Use EmrJobFlowSensor for other states (#7146)

Remove class constants of EmrBaseSensor: NON_TERMINAL_STATES,
FAILED_STATE. Add new parameters: target_states and failed_states.
Eliminate pylint warnings. Do not change default behaviour of updated
sensors.

> Use EmrJobFlowSensor for other states
> -------------------------------------
>
>                 Key: AIRFLOW-6541
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6541
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: aws, contrib
>    Affects Versions: 1.10.7
>            Reporter: Mustafa Gök
>            Assignee: Mustafa Gök
>            Priority: Minor
>             Fix For: 1.10.8
>
>
> Currently, EmrJobFlowSensor waits cluster to be terminated (state: 
> "TERMINATED"). It can be used for other purposes if cluster states to be 
> checked (i.e., NON_TERMINAL_STATES) can be passed to the operator.
> For example, this sensor could be used to wait cluster to be ready (state: 
> "RUNNING" or "WAITING").



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to