ConvertJSONToAvro not working in NIFi despite successful with avro-tools validation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

ConvertJSONToAvro not working in NIFi despite successful with avro-tools validation

Manish Mehndiratta

Hi -

Problem statement: I have a XML file which is converted to JSON. This JSON is sent to ConvertJSONToAvro where it fails. This same JSON output when run against same .asvc file in avro-tools works fine and generates the output. Can someone please look at the attached artifacts and help.

command tried:

java -jar avro-tools-1.8.1.jar fromjson --schema-file TMSDataModelFlat.avsc 90573445988483.json > validated.avro


FlowFile.PNG (98K) Download Attachment
TmsDMToJson.xsl (2K) Download Attachment
WvWellHeader1093984501.xml (3K) Download Attachment
111992238023017.json (1K) Download Attachment
TMSDataModelFlat.avsc (2K) Download Attachment
Loading...