[ 
https://issues.apache.org/jira/browse/MAPREDUCE-815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12790949#action_12790949
 ] 

Doug Cutting commented on MAPREDUCE-815:
----------------------------------------

> What about the AvroOutputFormat?

I suggest we treat it similarly: require either keys or values to be null.

An output format could combine output keys and values into a compound record, 
and one could define an input format that splits each input datum into a 
separate key and value, but I don't think the basic AvroOutputFormat should do 
this.  If we add a MapFile-like abstraction for Avro, then its input and output 
formats should probably do this.


> Add AvroInputFormat and AvroOutputFormat so that hadoop can use Avro 
> Serialization
> ----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-815
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-815
>             Project: Hadoop Map/Reduce
>          Issue Type: New Feature
>            Reporter: Ravi Gummadi
>            Assignee: Ravi Gummadi
>
> MapReduce needs AvroInputFormat similar to other InputFormats like 
> TextInputFormat to be able to use avro serialization in hadoop. Similarly 
> AvroOutputFormat is needed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to