You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Tamas Palfy (Jira)" <ji...@apache.org> on 2020/11/02 17:44:00 UTC
[jira] [Created] (NIFI-7972) TailFile reading from NFS may
introduce NUL characters.
Tamas Palfy created NIFI-7972:
---------------------------------
Summary: 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
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)