airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sumit Maheshwari (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AIRFLOW-184) Add clear/mark success to CLI
Date Tue, 31 May 2016 05:39:12 GMT

    [ 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)

Mime
View raw message