You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jack (Jira)" <ji...@apache.org> on 2019/11/27 10:34:00 UTC
[jira] [Commented] (AIRFLOW-2433) Operator with TriggerRule
"one_success" with multiple upstream tasks is marked as Skipped instead of
UpstreamFailed if all its upstream tasks are in "UpstreamFailed" status
[ https://issues.apache.org/jira/browse/AIRFLOW-2433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16983368#comment-16983368 ]
jack commented on AIRFLOW-2433:
-------------------------------
[~vigneshwaran] is this still an issue?
> Operator with TriggerRule "one_success" with multiple upstream tasks is marked as Skipped instead of UpstreamFailed if all its upstream tasks are in "UpstreamFailed" status
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AIRFLOW-2433
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2433
> Project: Apache Airflow
> Issue Type: Bug
> Components: operators
> Affects Versions: 1.9.0
> Reporter: Vigneshwaran Raveendran
> Priority: Major
> Attachments: Airflow_1.9_incorrect_state_issue.png
>
>
> I have a task with trigger_rule "one_success" with two upstream tasks.
> When all its upstream tasks are in UpstreamFailed, the task and all its downstream tasks are marked as "Skipped" instead of expected "UpstreamFailed".
> Since the root tasks end up in Skipped status and not in UpstreamFailed, the DAG is marked as Success instead of the expected Failed status.
> Please see the attachment for reference. The "step 8" is the task with trigger rule "one_success".
--
This message was sent by Atlassian Jira
(v8.3.4#803005)