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

[jira] [Assigned] (AIRFLOW-2497) Cgroup task runner doesn't pass down correct env vars

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

Kevin Yang reassigned AIRFLOW-2497:
-----------------------------------

    Assignee: Kevin Yang

> Cgroup task runner doesn't pass down correct env vars
> -----------------------------------------------------
>
>                 Key: AIRFLOW-2497
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2497
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Kevin Yang
>            Assignee: Kevin Yang
>            Priority: Major
>
> From [https://github.com/apache/incubator-airflow/blob/master/airflow/task/task_runner/base_task_runner.py#L79-L84,] only PYTHONPATH is propagated to the child process, which make the behavior of bash task runner and cgroup task runner different as bash task runner would issue a `bash -c` command that automatically pass all the env var from the parent process to the subprocess. Cgroup task runner should not behave different.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)