You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Xiao Zhu (JIRA)" <ji...@apache.org> on 2018/04/23 23:45:00 UTC

[jira] [Created] (AIRFLOW-2368) Relative path should be used when enqueuing task instace

Xiao Zhu created AIRFLOW-2368:
---------------------------------

             Summary: Relative path should be used when enqueuing task instace
                 Key: AIRFLOW-2368
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2368
             Project: Apache Airflow
          Issue Type: Improvement
            Reporter: Xiao Zhu


In our Airflow setup, scheduler and workers (connected via Celery) runs on different machine and have different root dir. Currently in airflow when scheduler enqueues a task instance it uses the full absolute path of the DAG file, while the DAG is located at a different location on our workers (because of different root dir). As a result workers can't find the DAG file.

When scheduler enqueues a task instances it should use its relative path (relative to DAGS_FOLDER).



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