[
https://issues.apache.org/jira/browse/NIFI-5043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16470586#comment-16470586
]
ASF subversion and git services commented on NIFI-5043:
-------------------------------------------------------
Commit 1bed849dcb83ac24de0e0629ef4e3db2fe29d2c4 in nifi's branch
refs/heads/HDF-3.1-maint from [~mgaido]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=1bed849 ]
NIFI-5043: TailFile in Multifile mode should not open new readers in onTrigger
This closes #2606.
Signed-off-by: Mark Payne <[email protected]>
> TailFile opens and never closes readers in Multiple Files mode
> --------------------------------------------------------------
>
> Key: NIFI-5043
> URL: https://issues.apache.org/jira/browse/NIFI-5043
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Marco Gaido
> Assignee: Marco Gaido
> Priority: Critical
> Fix For: 1.7.0
>
>
> When Multiple File is set as Tailing Mode, TailFile tries to recover the
> state every time it is triggered, as if it were recovering from a restart. In
> this way, it opens a new reader every time for every file and it never closes
> them.
> This situation can easily be diagnosticated running {{lsof}}: the number of
> open handles keep increasing for every TailFile trigger.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)