Thanks Bryan, that worked perfectly.

Nawaz.

From: Bryan Bende [mailto:[email protected]]
Sent: Friday, June 17, 2016 1:55 PM
To: [email protected]
Subject: Re: RDBMS to Hbase using NIFI

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]<mailto:[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


Reply via email to