avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "harisgx ." <hari...@gmail.com>
Subject Converting written layout for log4j using avro to data file
Date Mon, 30 May 2011 15:07:25 GMT
Hi,

I have written a layout for log4j using avro.

http://bytescrolls.blogspot.com/2011/05/using-avro-to-serialize-logs-in-log4j.html

https://github.com/harisgx/avro-log4j

But if I want to convert the records to a avro data file in a compressed
form, in the docs it is mentioned about to use  DataFileWriteTool to read
new-line delimited JSON records.
in the method,
- run(InputStream stdin, PrintStream out, PrintStream err, List<String>
args)

args is to be non null. How do we populate the args values?

thanks
-haris

Mime
View raw message