You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Phillip Grenier (JIRA)" <ji...@apache.org> on 2019/07/03 18:17:00 UTC

[jira] [Updated] (NIFI-6419) AvroWriter single record with external schema results in data loss

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

Phillip Grenier updated NIFI-6419:
----------------------------------
    Description: 
When a split record tries to create single record splits with an external schema, it does not use a record set and fails to write data.

I have attached a sample flow, if you run a simple flow file through with

first,last
 fname,lname
 another,name

you will see the resulting flow files have 0 bytes.

 

Nifi 1.9.2

java -version
openjdk version "1.8.0_201"
OpenJDK Runtime Environment (build 1.8.0_201-b09)
OpenJDK 64-Bit Server VM (build 25.201-b09, mixed mode)

  was:
When a split record tries to create single record splits with an external schema, it does not use a record set and fails to write data.

I have attached a sample flow, if you run a simple flow file through with 

first,last
fname,lname
another,name

you will see the resulting flow files have 0 bytes.


> AvroWriter single record with external schema results in data loss
> ------------------------------------------------------------------
>
>                 Key: NIFI-6419
>                 URL: https://issues.apache.org/jira/browse/NIFI-6419
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.9.0
>            Reporter: Phillip Grenier
>            Priority: Major
>         Attachments: getSplitRecord.xml
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When a split record tries to create single record splits with an external schema, it does not use a record set and fails to write data.
> I have attached a sample flow, if you run a simple flow file through with
> first,last
>  fname,lname
>  another,name
> you will see the resulting flow files have 0 bytes.
>  
> Nifi 1.9.2
> java -version
> openjdk version "1.8.0_201"
> OpenJDK Runtime Environment (build 1.8.0_201-b09)
> OpenJDK 64-Bit Server VM (build 25.201-b09, mixed mode)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)