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

ReplaceText processor AdminYields on flowfile containing long line

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.15.3
    • 1.17.0
    • None
    • None

    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:

      Failed to process session due to java.nio.BufferOverflowException;
      Processor Administratively Yielded for 1 sec: java.nio.BufferOverflowException
      

      Using attached file (apache license all on one line, a little over 11KB)
      with Maximum Buffer Size set to 5KB will produce this situation.

      Attachments

        1. apacheLicenseOnOneLine.txt
          11 kB
          Nissim Shiman

        Issue Links

          Activity

            People

              Nissim Shiman Nissim Shiman
              Nissim Shiman Nissim Shiman
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 1.5h
                  1.5h