Hi Nawaz,

The PutHBaseJson processor only supports receiving a single json document
per flow file, and the output of ConvertAvroToJson is probably an array of
JSON documents, or maybe multiple JSON documents one after another.

I think the solution would be to stick a SplitJson after ConvertAvroToJson,
to split it into a bunch of individual JSON documents.

Hope that helps.

-Bryan


On Fri, Jun 17, 2016 at 2:34 PM, Nawaz Akther -X (nakther - INSIGHT GLOBAL
INC at Cisco) <[email protected]> wrote:

> Hi,
>
>
>
> I have been trying to transfer data from a relational database(mysql) to
> hbase using nifi and the processors I am using are the ExecuteSQL which is
> connected to convertAVROtoJSON which is connected to PutHbaseJson
> processor. The problem I am facing is that only one record/row is being
> transferred to Hbase whereas I am pulling around 100 rows from mysql. Any
> thoughts on this behavior?
>
>
>
> Thanks,
>
> Nawaz
>
>
>
  • RDBMS to Hbase usi... Nawaz Akther -X (nakther - INSIGHT GLOBAL INC at Cisco)
    • Re: RDBMS to ... Bryan Bende
      • RE: RDBMS... Nawaz Akther -X (nakther - INSIGHT GLOBAL INC at Cisco)

Reply via email to