[ 
https://issues.apache.org/jira/browse/AIRFLOW-6171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16994924#comment-16994924
 ] 

ASF subversion and git services commented on AIRFLOW-6171:
----------------------------------------------------------

Commit 702005fe35dc5b996a5c5b8d349ed36036472f00 in airflow's branch 
refs/heads/master from Andrey Klochkov
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=702005f ]

[AIRFLOW-6171] Apply .airflowignore to correct subdirectories (#6784)

Fix the defect that applied .airflowignore rules from one subdirectory
to all other subdirectories scanned later.

> 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.5, 1.10.6
>         Environment: Ubuntu 18.04
>            Reporter: Andrey Kateshov
>            Assignee: Andrey Klochkov
>            Priority: Major
>             Fix For: 1.10.7
>
>
> 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