You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Sai Rohith (JIRA)" <ji...@apache.org> on 2019/04/15 06:01:00 UTC

[jira] [Comment Edited] (AIRFLOW-851) Docs: Info how to cancel a running job

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

Sai Rohith  edited comment on AIRFLOW-851 at 4/15/19 6:00 AM:
--------------------------------------------------------------

I am facing the same issue of how to kill long running bash jobs from Airflow UI. My idea is to create another task/dag to cleanup such tasks that need to be killed. Any other work around for this?. Since this feature is needed for all the operators, we can add this as an in-built feature to all operators. Please suggest if i am wrong with this approach.


was (Author: sairohith1212):
I am facing the same issue of how to kill long running bash jobs from Airflow UI. My idea is to create another task/dag to cleanup such tasks that need to be killed. Any other work around for this?

> Docs: Info how to cancel a running job
> --------------------------------------
>
>                 Key: AIRFLOW-851
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-851
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: docs, Documentation
>            Reporter: Andi Pl
>            Priority: Major
>
> I am not sure how to kill a running Job.
> We have long running bash jobs and sometimes find out, that there is an issue and we want to cancel them. 
> Right now we have to use ssh and do:
> {code}
> ps -aux  | grep "bash script name"
> kill pid
> {code}
> Maybe there is already a way to do it form the UI, but we could not figure it out. I would like to add documentation, how to do it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)