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

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

In the end-to-end-test validation, you don't need seekable and can read the 
entire file with something like:

{code}
reader = new DataFileStream<Integer>(istream, datumReader);
for (int value : reader) { ... }
{code}

This will save a number of lines and provide a better example of non-split Avro 
file usage.


> 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: Aaron Kimball
>         Attachments: MAPREDUCE-815.2.patch, MAPREDUCE-815.3.patch, 
> MAPREDUCE-815.4.patch, MAPREDUCE-815.patch
>
>
> 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