[jira] [Commented] (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=17070613#comment-17070613 ] Daniel Imberman commented on AIRFLOW-851: - This issue has been moved to https://github.com/apache/airflow/issues/7994 > 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: 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 (v8.3.4#803005)
[jira] [Commented] (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=17070611#comment-17070611 ] Daniel Imberman commented on AIRFLOW-851: - This issue has been moved to https://github.com/apache/airflow/issues/7992 > 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: 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 (v8.3.4#803005)
[jira] [Commented] (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=17070612#comment-17070612 ] Daniel Imberman commented on AIRFLOW-851: - This issue has been moved to https://github.com/apache/airflow/issues/7993 > 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: 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 (v8.3.4#803005)
[jira] [Commented] (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=16817577#comment-16817577 ] Sai Rohith commented on AIRFLOW-851: - 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)
[jira] [Commented] (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=16768103#comment-16768103 ] jack commented on AIRFLOW-851: -- [~ashb] if it depends on the operator you can not suggest such usage in the docs as it might not work. > 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)
[jira] [Commented] (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=16764869#comment-16764869 ] Ash Berlin-Taylor commented on AIRFLOW-851: --- Perhaps it depends on the operator, but I have seen processes killed when I clear the task in the UI. > 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)
[jira] [Commented] (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=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)
[jira] [Commented] (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=16741905#comment-16741905 ] Shubham Gupta commented on AIRFLOW-851: --- If there is a running task, and we clear it, it will shutdown from the UI, but they will be running in the machine . So then you will have to manually go to the machine and kill the task. So I think killing from the UI should also find a way to go to machine and kill all the corresponding tasks. > 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)
[jira] [Commented] (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=16741649#comment-16741649 ] Shubham Gupta commented on AIRFLOW-851: --- Hello, should this not be a requirement? If we can start the jobs from the machine, we should also be able to kill it? Thanks! Regards, Shubham Gupta > 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)
[jira] [Commented] (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=16728971#comment-16728971 ] jack commented on AIRFLOW-851: -- There is no way to cancel a running task from the UI. You can set the DAG to off in the UI but this won't effect tasks in running state. It will prevent scheduling down stream tasks once the running task is finished. > 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)