You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Daniel Bakai (JIRA)" <ji...@apache.org> on 2019/06/27 09:59:00 UTC
[jira] [Created] (MINIFICPP-937) TailFile in Single file mode does
not work after restoring from state
Daniel Bakai created MINIFICPP-937:
--------------------------------------
Summary: TailFile in Single file mode does not work after restoring from state
Key: MINIFICPP-937
URL: https://issues.apache.org/jira/browse/MINIFICPP-937
Project: Apache NiFi MiNiFi C++
Issue Type: Bug
Reporter: Daniel Bakai
Fix For: 0.7.0
Attachments: config.yml
To reproduce:
* Create a TailFile - LogAttribute pipeline
* Let it tail a few lines from the file
* Restart minifi
* TailFile will stop functioning (does not produce any FlowFiles even though there are lines added to the tailed file)
I think this might be related to the latest rewrite adding multiple modes and changing the state file format and parsing.
There is also a
{{[2019-06-27 11:30:05.523] [org::apache::nifi::minifi::processors::TailFile] [error] store state file failed}}
line in the log which indicates that the TailFile::storeState is sometimes called when state_file_ is empty (I have added extra logging to onTrigger, and the state_file_ variable is filled properly, so I don't know where is it exactly coming from).
I have also attached my config.yml: [^config.yml]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)