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/21 00:09:00 UTC

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

Kevin Yang created AIRFLOW-2497:
-----------------------------------

             Summary: 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


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)