I need a utility to convert my incoming JSON data(on which I have no control) to Avro Format(on the fly)ie. without using any Hive query, MR job etc. I am able to generate the avrso schema perfectly. I am aware that we do have an Avro Tool for the purpose.
- From JSON to Avro: DataFileWriteTool
- From Avro to JSON: DataFileReadTool
But the challenge is that it accepts JSON data in a typesafe format types.I am facing the exact same issue when I try to use this tool.
Any pointers/help ?