Support Questions

Find answers, ask questions, and share your expertise

"ROW ID was null" error in puthbaserecord for CSV file processing

avatar
New Contributor

I am loading a CSV file to Hbase using puthbaserecord and CSVreader but getting "org.apache.nifi.hbase.PutHBaseRecord$PutCreationFailedInvokedException: Row ID was null for flowfile with ID xxxxxxxxxxxxxxxxxxxxx" error. 

 

Below are the screenshot for puthbaserecord and CSVreader. Please advice.

CSVreaderCSVreader

puthbaserecordputhbaserecord

 

CSV File format:

MYCOL, NAME

23455, abc

55666,tyyt

23445,rtyyy

34655,34555

1 REPLY 1

avatar
Master Collaborator

In the PutHBaseRecord processor, specify the Row Identifier Field Name to be ${MYCOL} per the NiFi Expression Language. Hope this helps!