You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Dan Davydov (Jira)" <ji...@apache.org> on 2019/08/22 13:33:00 UTC

[jira] [Resolved] (AIRFLOW-1733) BashOperator readline can hang

     [ https://issues.apache.org/jira/browse/AIRFLOW-1733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Davydov resolved AIRFLOW-1733.
----------------------------------
    Resolution: Fixed

> BashOperator readline can hang
> ------------------------------
>
>                 Key: AIRFLOW-1733
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1733
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Dan Davydov
>            Priority: Major
>
> If the child bash process dies for some reason, the BashOperator will hang since we use a blocking readline call to get output from the child. Instead we should read asynchronously or poll the child bash process like described in the solutions here:
> https://stackoverflow.com/questions/18421757/live-output-from-subprocess-command



--
This message was sent by Atlassian Jira
(v8.3.2#803003)