You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "William Pursell (JIRA)" <ji...@apache.org> on 2017/10/21 05:15:00 UTC

[jira] [Created] (AIRFLOW-1745) BashOperator ignores SIGPIPE in subprocess

William Pursell created AIRFLOW-1745:
----------------------------------------

             Summary: BashOperator ignores SIGPIPE in subprocess
                 Key: AIRFLOW-1745
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1745
             Project: Apache Airflow
          Issue Type: Bug
          Components: DagRun
    Affects Versions: Airflow 1.8
            Reporter: William Pursell
            Assignee: William Pursell


In Python 2, subprocesses ignore SIGPIPE (https://bugs.python.org/issue1652).  As a result, a simple bash operator with bash_command = 'yes | head' may never terminate (depending on the implementation of yes).  Airflow should reset the signal disposition to default.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)