You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Sumit Maheshwari (JIRA)" <ji...@apache.org> on 2016/05/31 05:39:12 UTC

[jira] [Comment Edited] (AIRFLOW-184) Add clear/mark success to CLI

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

Sumit Maheshwari edited comment on AIRFLOW-184 at 5/31/16 5:39 AM:
-------------------------------------------------------------------

Was checking "airflow clear" and it seems like its doable by saying "airflow -f -s start_date -e end_date dag_id" and cleverly choosing start_date and end_date at the boundaries of desire execution date, which is tricky and risky for automated scripts.  

Also seems that it clears task instances with "failed" state only, not sure how does it affects instances with state "upstream_failed". 


was (Author: sumitm):
Was checking {{ airflow clear }} and it seems like its doable by saying {{ airflow -f -s start_date -e end_date dag_id }} and cleverly choosing start_date and end_date at the boundaries of desire execution date, which is tricky and risky for automated scripts.  

Also seems that it clears task instances with {{ failed }} state only, not sure how does it affects instances with state {{ upstream_failed }}. 

> Add clear/mark success to CLI
> -----------------------------
>
>                 Key: AIRFLOW-184
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-184
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: cli
>            Reporter: Chris Riccomini
>
> AIRFLOW-177 pointed out that the current CLI does not allow us to clear or mark success a task (including upstream, downstream, past, future, and recursive) the way that the UI widget does. Given a goal of keeping parity between the UI and CLI, it seems like we should support this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)