Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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
New Member