You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (JIRA)" <ji...@apache.org> on 2016/09/21 14:11:20 UTC
[jira] [Updated] (NIFI-1959) TailFile not ingesting data when
tailed file is moved with no rolling pattern
[ https://issues.apache.org/jira/browse/NIFI-1959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pierre Villard updated NIFI-1959:
---------------------------------
Resolution: Fixed
Fix Version/s: 1.1.0
Status: Resolved (was: Patch Available)
> TailFile not ingesting data when tailed file is moved with no rolling pattern
> -----------------------------------------------------------------------------
>
> Key: NIFI-1959
> URL: https://issues.apache.org/jira/browse/NIFI-1959
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 0.6.1
> Reporter: Pierre Villard
> Assignee: Pierre Villard
> Priority: Minor
> Fix For: 1.1.0
>
>
> In case "Rolling Filename Pattern" is not set by user and if the tailed file is moved, then the new file will not be tailed.
> Besides, in such case, the processor will be endlessly triggered without ingesting data: it creates a lot of tasks and consumes CPU. The reason is it never goes in if statement L448.
> A solution is to look at size() and lastUpdated() of the tailed file to detect a "rollover". However it won't allow the processor to ingest the potential data added in the tailed file just before being moved.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)