You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/12/25 13:55:58 UTC

[jira] [Commented] (AIRFLOW-403) Bash operator's kill method leaves underlying processes running

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

ASF subversion and git services commented on AIRFLOW-403:
---------------------------------------------------------

Commit d3abe2c3c2dd2ef53b00282de9f9e3a4512ab068 in incubator-airflow's branch refs/heads/master from [~spektom]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=d3abe2c ]

[AIRFLOW-403] Bash operator's kill method leaves underlying processes running

Currently only the main process is being killed due to the fact that the
process group is not being terminated.

Closes #1714 from spektom/bash_operator_kill


> Bash operator's kill method leaves underlying processes running
> ---------------------------------------------------------------
>
>                 Key: AIRFLOW-403
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-403
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: core
>            Reporter: Michael Spector
>            Assignee: Michael Spector
>              Labels: easyfix
>             Fix For: Airflow 1.8
>
>
> If Bash operator is killed on timeout, underlying process invoked from the bash script continues running. 
> We should create process groups for bash processes, and send signal to the entire group instead of killing just the parent.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)