You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/08/17 22:21:00 UTC
[jira] [Commented] (AIRFLOW-1420) Dag fails, but none of tasks has
failed
[ https://issues.apache.org/jira/browse/AIRFLOW-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16131389#comment-16131389 ]
ASF subversion and git services commented on AIRFLOW-1420:
----------------------------------------------------------
Commit ea86895d5b81d6fed4f26c201f8874bacdd291e5 in incubator-airflow's branch refs/heads/master from [~gwax]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=ea86895 ]
[AIRFLOW-1420][AIRFLOW-1473] Fix deadlock check
Update the deadlock check to prevent false
positives on upstream
failure or skip conditions.
Closes #2506 from gwax/fix_dead_dagruns
> Dag fails, but none of tasks has failed
> ---------------------------------------
>
> Key: AIRFLOW-1420
> URL: https://issues.apache.org/jira/browse/AIRFLOW-1420
> Project: Apache Airflow
> Issue Type: Bug
> Reporter: Maciej Z
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> Here's the code:
> {noformat}
> # -*- coding: utf-8 -*-
> from airflow.operators.dummy_operator import DummyOperator
> from airflow.models import DAG
> from datetime import date, datetime, timedelta
> day_ago = datetime.combine(datetime.today() - timedelta(1), datetime.min.time())
> args = {'owner': 'airflow', 'start_date': day_ago,}
> dag = DAG(dag_id='not_running_dummy2_test', default_args=args, schedule_interval='00 * * * *', dagrun_timeout=timedelta(hours=12))
> DummyOperator(task_id='a', dag=dag) >> DummyOperator(task_id='b', dag=dag, trigger_rule='one_failed')
> if __name__ == "__main__":
> dag.cli()
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)