Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-7104

ListFile processor "Path filter" not applied against base directory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.9.2
    • None
    • Extensions
    • None

    Description

      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".

      Attachments

        Activity

          People

            Unassigned Unassigned
            msclarke Matthew Clarke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: