The data file format is currently defined to always use the binary
encoding.  The json encoding is optional.

For json, a text file with one record per line is a common format,
perhaps where the first line in the file is the schema.

Doug

On 05/01/2011 04:18 AM, David Shimon wrote:
> Hi,
> 
>  
> 
> I am newbie.
> 
>  
> 
> Is there a way to make the output of AvroMapReduce to use JsonEncoder
> instead of BinaryEncoder?
> 
>  
> 
> (On org.apache.avro.mapred.AvroSerialization, it seems that the BinaryEncoder 
> is hardcoded in the file)
> 
>  
> 
> Thanks,
> 
>  
> 
> *David Shimon*
> 

Reply via email to