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

jack commented on AIRFLOW-851:
------------------------------

[~ashb]  Gupta is right. Clearing a task in running state doesn't actually stop 
it. It changes it status in Airflow but the process is still running in the 
machine so you need also to kill it from command line. From observer point of 
view it seems like this is more a bug in Airflow which was exploited to an 
actual functionality. It seems like that initial intention was that clear 
shouldn't work on Running state.

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

Reply via email to