You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Pere Ferrera Bertran (JIRA)" <ji...@apache.org> on 2011/08/08 18:28:28 UTC

[jira] [Commented] (MAPREDUCE-377) Add serialization for Protocol Buffers

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

Pere Ferrera Bertran commented on MAPREDUCE-377:
------------------------------------------------

PB integration with Hadoop is now possible by using Protostuff (http://code.google.com/p/protostuff/) by calling ProtobufIOUtil.writeDelimitedTo() and ProtobufIOUtil.mergeDelimitedFrom() . These methods avoid the problem with consuming too many bytes from the stream.

> Add serialization for Protocol Buffers
> --------------------------------------
>
>                 Key: MAPREDUCE-377
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-377
>             Project: Hadoop Map/Reduce
>          Issue Type: Wish
>            Reporter: Tom White
>            Assignee: Alex Loddengaard
>         Attachments: hadoop-3788-v1.patch, hadoop-3788-v2.patch, hadoop-3788-v3.patch, protobuf-java-2.0.1.jar, protobuf-java-2.0.2.jar
>
>
> Protocol Buffers (http://code.google.com/p/protobuf/) are a way of encoding data in a compact binary format. This issue is to write a ProtocolBuffersSerialization to support using Protocol Buffers types in MapReduce programs, including an example program. This should probably go into contrib. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira