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

Kevin Yang closed AIRFLOW-2497.
-------------------------------
    Resolution: Fixed

> 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)

Reply via email to