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/06/30 22:44:00 UTC
[jira] [Commented] (NIFI-10163) StandardProcessSession.exportTo() not tracking bytes read
[ https://issues.apache.org/jira/browse/NIFI-10163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17561201#comment-17561201 ]
ASF subversion and git services commented on NIFI-10163:
--------------------------------------------------------
Commit 943197c18b3b0ae3f3eb6c2dcf396a95c2389506 in nifi's branch refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=943197c18b ]
NIFI-10163
- Corrected StandardProcessSession.exportTo() byte counting
- Removed bytesWritten incrementing from exportTo methods
Signed-off-by: Nathan Gough <th...@gmail.com>
This closes #6153.
> 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: 50m
> 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.10#820010)