You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Arpad Boda (Jira)" <ji...@apache.org> on 2019/11/15 11:08:00 UTC

[jira] [Commented] (MINIFICPP-937) TailFile in Single file mode does not work after restoring from state

    [ https://issues.apache.org/jira/browse/MINIFICPP-937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16975019#comment-16975019 ] 

Arpad Boda commented on MINIFICPP-937:
--------------------------------------

[~bakaid][~phrocker] Guess it's resolved, could you confirm?

> 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: Dániel Bakai
>            Assignee: Marc Parisi
>            Priority: Blocker
>             Fix For: 0.7.0
>
>         Attachments: config.yml
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)