You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Vipul Pandey (Jira)" <ji...@apache.org> on 2019/09/25 09:16:00 UTC

[jira] [Updated] (AIRFLOW-3877) Scheduler sending full file path of dags to workers

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

Vipul Pandey updated AIRFLOW-3877:
----------------------------------
    Summary: Scheduler sending full file path of dags to workers  (was: Scheduler sending the absolute path to workers)

> Scheduler sending full file path of dags to workers
> ---------------------------------------------------
>
>                 Key: AIRFLOW-3877
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3877
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: scheduler
>    Affects Versions: 1.10.1
>            Reporter: Vipul Pandey
>            Assignee: Vipul Pandey
>            Priority: Major
>
> Hi,
> Upgraded the airflow version from 1.7.3 to 1.10.1. After up-gradation of the scheduler, webserver and workers, the dags have stopped working showing below error on scheduler- 
> {{Either the dag did not exist or it failed to parse.}}
> I have not made any changes to the config. While investigating the issue the scheduler logs shows the issue. Earlier the scheduler run the task as - 
> Adding to queue: airflow run <dag_id> <task_id> <execution_date> --local -sd DAGS_FOLDER/<dag_filename.py>
> While now it is running with absolute path - 
> Adding to queue: airflow run <dag_id> <task_id> <execution_date> --local -sd /<PATH_TO_DAGS_FOLDER>/<dag_filename.py>     
> PATH_TO_DAGS_FOLDER is like /home/<user>/Airflow/dags...
> which is same as what it is pushing it to workers by since worker is running on some other user it is not able to find the dag location specified. 
> I am using mysql as backend and rabbitmq for message passing.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)