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/04 12:07:00 UTC
[jira] [Reopened] (MINIFICPP-1313) TailFile does not do a lookup
during the first onTrigger if minifi is started right after a reboot
[ https://issues.apache.org/jira/browse/MINIFICPP-1313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ferenc Gerlits reopened MINIFICPP-1313:
---------------------------------------
I closed this by accident.
> 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
> Priority: Minor
> Fix For: 0.9.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)