You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/11/16 20:18:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17233056#comment-17233056 ]
ASF subversion and git services commented on NIFI-7972:
-------------------------------------------------------
Commit 47cc2867baf5372d018332cc229b3bac470b26a8 in nifi's branch refs/heads/main from Tamas Palfy
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=47cc286 ]
NIFI-7972 Add a boolean property by which the user can tell the processor to yield (and try again later) whenever it encounters a NUL character.
> 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
> 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)