Re: invalid file with avro tools random and tojson

2014-10-24 Thread Doug Cutting
This is a bug. It works if you change the command to not use standard output, e.g.: random --schema-file schema.avsc --count 20 test.avro The problem is that TestUtil.java prints something to standard output that should go to standard error. I filed an issue in Jira for this and will post a f

invalid file with avro tools random and tojson

2014-10-14 Thread Pritchard, Charles X. -ND
Thought I’d ask for a second set of eyes. I’m working with a large schema, a basic translation of some tab separated data with many fields (over 300). It appears that the output of Random can not be read back as JSON, with this schema. Is this a bug, or me simply mis-using the method calls in Av