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

Nissim Shiman updated NIFI-10154:
---------------------------------
    Description: 
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.

  was:
When ReplaceText processor's Evaluation Mode property is set to Line-by-Line
and 
the line's size is greater than Maximum Buffer Size
and 
the line has many null characters
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 with the settings above will reproduce this issue


> 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: longLineContainingNulls.txt
>
>
> 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.7#820007)

Reply via email to