You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/03/19 18:35:28 UTC

[GitHub] [airflow] JCoder01 commented on pull request #14900: Remove dags_folder path from dag.fileloc

JCoder01 commented on pull request #14900:
URL: https://github.com/apache/airflow/pull/14900#issuecomment-803032594


   @XD-DENG see https://github.com/apache/airflow/issues/8061. If you your workers have have their dags in a different location than the scheduler then the command passed to Celery doesn't work. e.g. if your scheduler has `/opt/airflow/dags` but on your worker the dags are at `/var/airflow` (or in my case in my home dir) then the airflow command that is passed to the worker includes `--subdir /opt/airflow/dags` and files because the dags are actually in a different location. I would also like to point out that this is not new functionality, it existed before and has since broke.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org