You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Alexander Tronchin-James (Jira)" <ji...@apache.org> on 2020/02/12 21:33:00 UTC

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=17035716#comment-17035716 ] 

Alexander Tronchin-James edited comment on AIRFLOW-3877 at 2/12/20 9:32 PM:
----------------------------------------------------------------------------

Also experiencing this error with a postgres/redis config on airflow 1.10.9.

I have a feeling that jobs.py (recently exploded into a jobs folder) should be using simple_dag.filepath instead of full_filepath...


was (Author: atronchi):
Also experiencing this error with a postgres/redis config on airflow 1.10.9.

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