You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2022/06/23 20:33:00 UTC
[jira] [Updated] (NIFI-10163) StandardProcessSession.exportTo() not tracking bytes read
[ https://issues.apache.org/jira/browse/NIFI-10163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Handermann updated NIFI-10163:
------------------------------------
Status: Patch Available (was: Open)
> StandardProcessSession.exportTo() not tracking bytes read
> ---------------------------------------------------------
>
> Key: NIFI-10163
> URL: https://issues.apache.org/jira/browse/NIFI-10163
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.16.3
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)