Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-7972

TailFile reading from NFS may introduce NUL characters.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.13.0
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tpalfy Tamas Palfy
            tpalfy Tamas Palfy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h 20m
                3h 20m

                Slack

                  Issue deployment