Support Questions

Find answers, ask questions, and share your expertise

NiFi PutHiveStreaming requires Avro?

avatar
Master Guru

Documentation for PutHiveStreaming requires flow file to be in avro format. My understanding is hive streaming only support ORC format. When puthivestreaming is used, does it convert avro to orc prior to inserting into hive table? trying to understand the functionality.

1 ACCEPTED SOLUTION

avatar
Master Guru

It does convert Avro to ORC, but ironically it does so by converting the Avro to JSON first. We should allow ORC (if prudent, possibly after a ConvertAvroToORC processor) and JSON as valid input formats (perhaps via the mime.type attribute?) to PutHiveStreaming. Do you mind writing up a Jira for this? Please and thank you 🙂

View solution in original post

2 REPLIES 2

avatar
Master Guru

It does convert Avro to ORC, but ironically it does so by converting the Avro to JSON first. We should allow ORC (if prudent, possibly after a ConvertAvroToORC processor) and JSON as valid input formats (perhaps via the mime.type attribute?) to PutHiveStreaming. Do you mind writing up a Jira for this? Please and thank you 🙂

avatar