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/07/01 00:13: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=17561215#comment-17561215 ] 

ASF subversion and git services commented on NIFI-10163:
--------------------------------------------------------

Commit 1f18345929bcf60047010b1584366f3981ca8494 in nifi's branch refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=1f18345929 ]

NIFI-10163 Corrected StandardProcessSessionTest after NIFI-10167


> 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
>             Fix For: 1.17.0
>
>          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)