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

StandardProcessSession.exportTo() not tracking bytes read

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.16.3
    • 1.17.0
    • Core Framework
    • None

    Description

      The StandardProcessSession.exportTo(FlowFile, OutputStream) method does not increment the bytes read or bytes written properties after processing completes. Although the method uses a ByteCountingInputStream, the method does not use the accumulated bytes read.

      As a result of this issue, Processors that use this exportTo() method do not show any information in the Bytes Read and Bytes Transferred sections of the Processor Status History.

      This impacts InvokeHTTP and HandleHttpResponse among others.

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              exceptionfactory David Handermann
              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 - 50m
                  50m