airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bolke de Bruin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AIRFLOW-1562) Spark-sql deadlock in logging
Date Wed, 06 Sep 2017 11:39:01 GMT

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

Bolke de Bruin updated AIRFLOW-1562:
------------------------------------
    Fix Version/s: 1.8.3

> Spark-sql deadlock in logging
> -----------------------------
>
>                 Key: AIRFLOW-1562
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1562
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: hooks
>    Affects Versions: Airflow 1.8
>            Reporter: Fokko Driesprong
>             Fix For: 1.8.3
>
>
> Related to Issue 1255
> Logging in SparkSqlOperator does not work as intended (continuous logging as received
in the subprocess). This is because, spark-sql internally redirects all logs to stdout (including
stderr), which causes the current two iterator logging to get stuck with empty stderr pipe.
Also this situation can lead to a deadlock because the std-err can grow too big and it will
start to block until it gets consumed, which will only happen when the process ends, so the
process stalls.



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

Mime
View raw message