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:
us...@infra.apache.org


Reply via email to