You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pavel (Jira)" <ji...@apache.org> on 2020/05/08 19:27:00 UTC

[jira] [Updated] (NIFI-6925) JoltTransformRecord, PutESHttpRecord, PutHive3Streaming fail with various RecordReaders

     [ https://issues.apache.org/jira/browse/NIFI-6925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel updated NIFI-6925:
------------------------
    Attachment: Snímek z 2020-05-08 21-26-27.png

> JoltTransformRecord, PutESHttpRecord, PutHive3Streaming fail with various RecordReaders
> ---------------------------------------------------------------------------------------
>
>                 Key: NIFI-6925
>                 URL: https://issues.apache.org/jira/browse/NIFI-6925
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Matt Burgess
>            Assignee: Matt Burgess
>            Priority: Major
>             Fix For: 1.11.0
>
>         Attachments: Snímek z 2020-05-08 21-26-27.png
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> When using JoltTransformRecord with readers such as AvroReader or CSVReader, an error occurs when trying to transfer the original input flowfile to the "original" relationship. The error indicates that it is reading from multiple callbacks or that the input stream is still open. It happens to work with JsonTreeReader because the underlying JSON parser closes the stream when no more records are available.
> This is a result of not explicitly closing the input stream before trying to transfer the input flow file. It was not caught in the unit tests because MockProcessSession doesn't keep track of the open reader count, so that should be fixed as well. Fixing MockProcessSession will cause TestJoltTransformRecord to fail before the fix for this case is applied.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)