Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

LookupRecord LookupRecord throwing Could not determine schema to use for enriched FlowFiles :Not an Avro data file.

avatar
Explorer

I am trying use LookupRecord LookupRecord from Oracle table and i am using Avro reader/writer in LookupRecord . 

BUt i am receiving below error

Any suggestion @mburgess 

2024-08-13 18:09:09,214 ERROR [Timer-Driven Process Thread-4] o.a.n.processors.standard.LookupRecord LookupRecord[id=3a641d1a-1b3c-1a47-2c18-b3541562e3ea] Could not determine schema to use for enriched FlowFiles
org.apache.avro.InvalidAvroMagicException: Not an Avro data file.

3 REPLIES 3

avatar
Super Guru

Hi ,

Are you using provided avro schema ? If so, its basically saying that your avro schema is invalid! how are you providing your schema ? Can you please post some screenshot of your configuration?

avatar
Master Guru

Is the incoming FlowFile an Avro file? Or is it JSON or something else?

avatar
Explorer

@mburgess -- I am reading from Oracle table, not sure about the incoming flowfile