Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Nifi + Hbase to Handle Inserts /Updates/ Deletes

Explorer

Hello,

We are trying to handle Inserts/Updates/Deletes in Nifi . Currently attached the flow which is taking longer time to process the records and inserts into Hbase . I need to use Compositeprimarykey(ServerSerialno,ServerName) .Based on the CompositeKey will do the Inserts/Updates/Deletes.Need to boost the performance by altering the flow/configs.Kindly assist me to use the right flow to achieve this.

Attached the flow .

3 REPLIES 3

Explorer

Attaching the right flow:hbase-iud.xml

Explorer

@Shu Could you please check on this

Super Guru
@Raj ji

Consider using PutHBaseRecord processor instead of PutHBaseJson and use UpdateRecord processor to add the CompositePrimaryKey to the json doc.

Then use the CompositePrimaryKey field as row identifier for the PutHBaseRecord processor and adjust the BatchSize property value to get max number of put's into HBase.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.