You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Ferenc Gerlits (Jira)" <ji...@apache.org> on 2020/08/03 16:17:00 UTC
[jira] [Created] (MINIFICPP-1313) TailFile does not do a lookup
during the first onTrigger if minifi is started right after a reboot
Ferenc Gerlits created MINIFICPP-1313:
-----------------------------------------
Summary: TailFile does not do a lookup during the first onTrigger if minifi is started right after a reboot
Key: MINIFICPP-1313
URL: https://issues.apache.org/jira/browse/MINIFICPP-1313
Project: Apache NiFi MiNiFi C++
Issue Type: Bug
Affects Versions: 0.8.0
Reporter: Ferenc Gerlits
Assignee: Ferenc Gerlits
Fix For: 0.9.0
The {{last_multifile_lookup_}} field in {{TailFile}} is initialized to zero, which in most cases means "when the box was rebooted". The next listing of the input directory will happen {{lookup_frequency_}} later, which may be later than the first run of {{onTrigger()}}.
For example, if
* minifi starts 1 minute after bootup, and
* the TailFile processor is configured in Multifile mode, and
* Lookup Frequency is set to 10 minutes (which is the default)
then TailFile will not do anything during the first 9 minutes.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)