airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bolke de Bruin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AIRFLOW-920) Can't mark non-existent tasks as successful from graph view
Date Wed, 01 Mar 2017 06:55:45 GMT

     [ https://issues.apache.org/jira/browse/AIRFLOW-920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bolke de Bruin updated AIRFLOW-920:
-----------------------------------
    Attachment: airflow_code_test_subdag.png
                airflow_treeview_test_subdag.png
                airflow_dialog_test_subdag.png
                airfow_confirm_test_subdag.png

I have attached some screenshots to show you what I am doing.

-> _code_ shows the code I am running 
-> _treeview_ hovering over the white square of the subdag operator
-> _dialog_ were is pressed mark success for this subdag operator
-> _confirm_ dialog the tasks that will be marked success where you can see that all tasks
contained within the subdag will be marked.

> Can't mark non-existent tasks as successful from graph view
> -----------------------------------------------------------
>
>                 Key: AIRFLOW-920
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-920
>             Project: Apache Airflow
>          Issue Type: Sub-task
>    Affects Versions: 1.8.0rc4
>            Reporter: Dan Davydov
>            Assignee: Bolke de Bruin
>         Attachments: airflow_code_test_subdag.png, airflow_dialog_test_subdag.png, airflow_treeview_test_subdag.png,
airfow_confirm_test_subdag.png
>
>
> If you want to add a subdag operator with depends on past set to an existing dag you
need to mark the subdag as successful in the UI in order for it to start running. Previously
this was possible by mark-successing the non-existent task instance/dagrun in the UI via the
graph view. Now when you try to mark the task successful Airflow gives an empty list of tasks
that it is going to try to mark successful, probably because the task instance/dagrun do not
exist.
> Repro steps:
> - Create a DAG with a dummy task
> - Let this DAG run for one dagrun
> - Add a new subdag operator that contains a dummy operator to this DAG that
> has depends_on_past set to true
> - click on the white square for the new subdag operator in the DAGs first
> dagrun
> - Click "Zoom into subdag" (takes you to the graph view for the subdag)
> - Click the dummy task in the graph view and click "Mark Success"
> - Observe that the list of tasks to mark as success is empty (it should
> contain the dummy task)
> [~bolke]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message