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

ListFile always skips files with the latest timestamp in an iteration even if the files have existed a while ago

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0, 0.5.0, 0.6.0, 0.5.1, 0.7.0, 0.6.1, 1.1.0, 0.7.1
    • 1.2.0
    • Extensions
    • None

    Description

      NIFI-1484 add few lines of code to avoid files to be emitted if those have the latest timestamp within an iteration of listing, because it may still be written at the same time.

      While it doesn't affect much if ListFiles processor is scheduled with a short period of time, such as few ms, but it does affect negatively if an user scheduled it with longer run schedule such as "1 day" or with cron scheduler.

      For example, user would expect to process list of files per daily basis. Even if a file is saved few hours ago, the processor will skip this, because the file has the latest timestamp within the iteration.

      Attachments

        Issue Links

          Activity

            People

              ijokarumawak Koji Kawamura
              ijokarumawak Koji Kawamura
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: