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

GetFile and ListFile list no files if Path Filter is not empty

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.15.2
    • 1.16.0
    • Core Framework
    • None

    Description

      Hello,

      under special circumstances GetFile and ListFile do not process files.

      To reproduce the problem I attached a template: GetFile-ListFile-Problem.xml

      The template generates every minute (0 0/1 * ? * MON-SAT) a flow file of 10B and stores it locally in a new ( ! ) folder: tmp/prod/cltest/${now():format('yyyyMMdd-HHmm')}/gaz/artikel.

      GetFile and ListFile run about 30 seconds after GenerateFlowFile processor(35 0/1 * ? * MON-SAT). For both processors the input directory is: tmp/prod/cltest/${now():format('yyyyMMdd-HHmm')}/.
      Path Filter is set to: ((anzg)|(gaz))\/artikel

      The first time when the processors are running the result set of each processor contains 1 file.
      After the first run the result will always be empty. There occurs no error. It's only empty.

      We use NiFi versions 1.11.4 and 1.15.2. Both have the same problem.
      Could you please have a look on it.

      Thank you and regards
      Christoph

      Attachments

        1. workflow.png
          535 kB
          Christoph Langheld
        2. GetFile-ListFile-Problem.xml
          35 kB
          Christoph Langheld

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            langheld Christoph Langheld
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment