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 2022/07/22 15:15:00 UTC

[jira] [Commented] (NIFI-10154) ReplaceText processor AdminYields on flowfile containing long line

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

ASF subversion and git services commented on NIFI-10154:
--------------------------------------------------------

Commit 74b25c73069350354acc875420e834605e1a8bef in nifi's branch refs/heads/main from NissimShiman
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=74b25c7306 ]

NIFI-10154 ReplaceText AdminYielding on long line (#6151)

* NIFI-10154 ReplaceText AdminYielding on long line

* NIFI-10154 code review changes

Signed-off-by: Otto Fowler <ot...@apache.org>

> ReplaceText processor AdminYields on flowfile containing long line
> ------------------------------------------------------------------
>
>                 Key: NIFI-10154
>                 URL: https://issues.apache.org/jira/browse/NIFI-10154
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.15.3
>            Reporter: Nissim Shiman
>            Assignee: Nissim Shiman
>            Priority: Major
>         Attachments: apacheLicenseOnOneLine.txt
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> When ReplaceText processor's Evaluation Mode property is set to Line-by-Line
> and 
> the line's size is greater than Maximum Buffer Size
> flowfile will not go to failure relationship but will remain in input queue and give:
> {code:java}
> Failed to process session due to java.nio.BufferOverflowException;
> Processor Administratively Yielded for 1 sec: java.nio.BufferOverflowException
> {code}
> Using attached file (apache license all on one line, a little over 11KB)
> with Maximum Buffer Size set to 5KB will produce this situation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)