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-721) Descendant process can have disappeared before termination
Date Thu, 29 Dec 2016 16:16:58 GMT

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

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

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

[AIRFLOW-721] Descendant process can disappear before termination

There is a race condition in helpers.py's kill_descendant_processes
that checks for running processes and then tries to terminate them.
This is not done atomically allowing for a small window where a PID
can disappear before termination.


> Descendant process can have disappeared before termination
> ----------------------------------------------------------
>
>                 Key: AIRFLOW-721
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-721
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: executor
>            Reporter: Bolke de Bruin
>            Assignee: Bolke de Bruin
>             Fix For: Airflow 1.8
>
>
> The is a race condition in helpers.py's kill_descendant_processes that checks for running
processes and then tries to terminate them. This is not done atomically allowing for a small
window where a PID can disappear before termination.



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

Mime
View raw message