Matthew Clarke created NIFI-7104:
------------------------------------

             Summary: ListFile processor "Path filter" not applied against base 
directory
                 Key: NIFI-7104
                 URL: https://issues.apache.org/jira/browse/NIFI-7104
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
    Affects Versions: 1.9.2
            Reporter: Matthew Clarke


ListFile processor "path filter" is applied against sub directories only and 
not the base directory.

Consider scenario where you want to only list files found in subdirectories 
with directory name "data" and you have directory tree structure as follows:

/input/basedir/<timestamp>/data

So you configure the listFile with "Input Directory" of "/input/basedir" and a 
"Path Filter" with ".*?/data" with the expectation that only files found in the 
various sub "data" directories are returned.

observed behavior is that listFile will return all files found in the base 
directory "/input/basedir" as well as all file from subdirectories matching the 
"Path Filter".






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

Reply via email to