nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Burgess <mattyb...@apache.org>
Subject Re: NiFi SplitAvro processor giving extra records
Date Mon, 12 Mar 2018 13:11:25 GMT
Rohit,

Are you routing both the "split" and "original" relationships to the
downstream processor? If so, and you don't want the 6th flowfile
containing all 5 records, then do not route the original relationship
to the downstream processor. You can route it to some other processor
or self-terminate it using the SplitAvro processor configuration
dialog.

Regards,
Matt


On Mon, Mar 12, 2018 at 7:35 AM, Rohit <rsvangari@gmail.com> wrote:
> Hi,
>
> I am reading data from hive table using ExecuteHQL having 5 records in hive
> table, its generating 1 avro file having total 5 records and using splitAvro
> processor i am splitting separate records but SplitAvro processor generating
> total 6 records which having 5 separate records and 6'th record having all 5
> records.
>
> My template:
>
> ExecuteHQL -> SplitAvro -> AvroJson -> putCouch
>
>
>
>
> --
> Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/

Mime
View raw message