You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (Jira)" <ji...@apache.org> on 2020/11/16 20:18:00 UTC

[jira] [Resolved] (NIFI-7972) TailFile reading from NFS may introduce NUL characters.

     [ https://issues.apache.org/jira/browse/NIFI-7972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Payne resolved NIFI-7972.
------------------------------
    Fix Version/s: 1.13.0
       Resolution: Fixed

> TailFile reading from NFS may introduce NUL characters.
> -------------------------------------------------------
>
>                 Key: NIFI-7972
>                 URL: https://issues.apache.org/jira/browse/NIFI-7972
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Tamas Palfy
>            Assignee: Tamas Palfy
>            Priority: Major
>             Fix For: 1.13.0
>
>          Time Spent: 3h 20m
>  Remaining Estimate: 0h
>
> On NFS - unlike on a normal file system - we can have a file where the first chunk of bytes has not arrived yet but the second has - as some network packets can arrive out of order. In this case we get the second chunk and the first filled with NUL as a temporary value, until the real values arrive.
> Solution: Add a boolean property by which the user can tell the processor to yield (and try again later) whenever it encounters a NUL character. Requires caution as a file that contains NUL characters on purpose would block the processor indefinitely.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)