airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bolke de Bruin (JIRA)" <>
Subject [jira] [Resolved] (AIRFLOW-989) Clear Task Regression
Date Wed, 15 Mar 2017 23:40:41 GMT


Bolke de Bruin resolved AIRFLOW-989.
    Resolution: Fixed

Issue resolved by pull request #2154

> Clear Task Regression
> ---------------------
>                 Key: AIRFLOW-989
>                 URL:
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.8.0
>            Reporter: Siddharth Anand
>            Assignee: Bolke de Bruin
>            Priority: Critical
>             Fix For: 1.8.1
> There is a regression in the current 1.8 rc (e.g. rc5) related to Clear Task behavior.

> Consider the following test DAG : 
> 1. Code :
> 2. Graph :
> The test DAG has 4 dummy tasks chained together as d1->d2->d3->d4. d1 is the
first task and d4 is the last task. Prior to 1.8, if any of d1..d4 were cleared individually.
the scheduler would pick  up and rerun the cleared tasks. In 1.8. unless the last task  in
a DAG is cleared, none of the tasks in the DAG run are rerun.
> In order for a task that is not the last task in the DAG to be rerun after being cleared,
its terminal downstream task needs to be cleared. Another workaround is to use the CLI to
rerun the cleared task.
> Here are some screenshots to illustrate the regressed behavior:
> Use Case 1 : Clear d1, d2, d3, and d4 in 4 separate DAG runs. In a 5th separate DAG run,
clear the entire DAG Run.
> After Clearing :

> After the Scheduler Runs : 
> You'll notice that only the DAG runs with the last task cleared completed by actually
running cleared tasks. These are shown as the 1st and 5th DAG runs from the left.
> Use Case 2 : Clear d1 and d4 in the same DAG Run
> After Clearing (c.f. 2nd from right DAG run): 
> After the Scheduler Runs : 

This message was sent by Atlassian JIRA

View raw message