airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tylar Murray (JIRA)" <>
Subject [jira] [Created] (AIRFLOW-2768) `airflow clear --upstream --only_failed` doesn't clear tasks upstream
Date Wed, 18 Jul 2018 19:28:00 GMT
Tylar Murray created AIRFLOW-2768:

             Summary: `airflow clear --upstream --only_failed` doesn't clear tasks upstream
                 Key: AIRFLOW-2768
             Project: Apache Airflow
          Issue Type: Bug
          Components: cli
    Affects Versions: 1.9.0
         Environment: airflow v1.9.0 
            Reporter: Tylar Murray

Should `airflow clear --upstream --only_failed mydagname` clear non-failed tasks upstream
of a failed task?

I believe so, yes. If not, then `airflow clear --upstream --only_failed` and `airflow clear
--only_failed` are equivalent.

Upstream tasks are not being cleared. The same is true for `–downstream`.


My use-case is: I want to clear all tasks all DagRuns that contain a failed task. In other
words: `airflow clear mydagname`, but skip DagRuns that have completed sucessfully.

This message was sent by Atlassian JIRA

View raw message