You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Richard Penman (JIRA)" <ji...@apache.org> on 2017/12/07 00:29:00 UTC

[jira] [Updated] (AIRFLOW-1623) Clearing task in UI does not trigger on_kill method in operator

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

Richard Penman updated AIRFLOW-1623:
------------------------------------
    Priority: Major  (was: Minor)

> Clearing task in UI does not trigger on_kill method in operator
> ---------------------------------------------------------------
>
>                 Key: AIRFLOW-1623
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1623
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: operators
>    Affects Versions: Airflow 2.0
>            Reporter: Richard Penman
>             Fix For: Airflow 2.0
>
>
> When a task is cleared in the UI it doesn't call the [operators on_kill() method|https://github.com/apache/incubator-airflow/blob/b2e1753f5b74ad1b6e0889f7b784ce69623c95ce/airflow/models.py#L2380] to clean up the task. Apparently this is meant to be handled in the [LocalTaskJob.on_kill()|https://github.com/apache/incubator-airflow/blob/b2e1753f5b74ad1b6e0889f7b784ce69623c95ce/airflow/jobs.py#L2512] method, however it is not currently.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)