Andrey Kateshov created AIRFLOW-6171:
----------------------------------------

             Summary: airflow ignore file with .* located in a subdirectory 
ignores dags in other dirs
                 Key: AIRFLOW-6171
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6171
             Project: Apache Airflow
          Issue Type: Bug
          Components: core, DAG
    Affects Versions: 1.10.6, 1.10.5
         Environment: Ubuntu 18.04
            Reporter: Andrey Kateshov


I have an airflow dags directory looking like this: x/... y/... z/.... I.e. all 
dags are placed in subdirectories.

If I place an .airflowignore with a single line of .* in directory z/ the dags 
in other directories (e.g x/ and y/) are also ignored. Which is already a big 
issue. What makes it even stranger that only some of them are ignored, 
potentially masking the effects of this behaviour. 

What makes it even worse you won't see that these dags are now disabled in 
airflow UI unless you completely restart it(possibly together with the 
scheduler, we restarted both, didn't try to see if only the UI is enough).

This issue was not present in 1.10.3, but appears in 1.10.5. I didn't test 
1.10.4.



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

Reply via email to