airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-403) Bash operator's kill method leaves underlying processes running
Date Sun, 25 Dec 2016 13:55:58 GMT

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

Mime
View raw message