You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airflow.apache.org by Abhishek Sinha <ab...@infoworks.io> on 2017/08/03 07:04:20 UTC

Adding dag files dynamically to dagbag

Hi,

We are on version 1.8.0 of Airflow.

Adding new dags in the dag bag folder while the services(webserver and
scheduler) are up and executing them via trigger_dag option does not work.

Scheduler/Webserver is not able to recognise the new dag until the services
are restarted. Has it been fixed in the newer version of the release?

Also as a workaround, we restart the services every time a new dag is added
to the dag bag folder. However I am not sure if the scheduler is restart
resilient and will continue executing tasks from the previously running
dags as well.




Regards,

Abhishek

Mob: +919035191078
Email: abhishek@infoworks.io