Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 3123 invoked from network); 12 Sep 2008 22:52:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Sep 2008 22:52:41 -0000 Received: (qmail 67405 invoked by uid 500); 12 Sep 2008 22:52:32 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 67361 invoked by uid 500); 12 Sep 2008 22:52:32 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 67347 invoked by uid 99); 12 Sep 2008 22:52:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Sep 2008 15:52:32 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Sep 2008 22:51:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C914F234C1F3 for ; Fri, 12 Sep 2008 15:51:44 -0700 (PDT) Message-ID: <620997575.1221259904822.JavaMail.jira@brutus> Date: Fri, 12 Sep 2008 15:51:44 -0700 (PDT) From: "Pete Wyckoff (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3788) Add serialization for Protocol Buffers In-Reply-To: <1835532878.1216378952154.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630701#action_12630701 ] Pete Wyckoff commented on HADOOP-3788: -------------------------------------- bq. could imagine the deserializers being handed a special kind of stream that counts down the remaining bytes and then signals EOF. One problem i ran into related to this is what if your deserializer does buffering? For EOF, one can return null from deserialize or in theory throw EOFException :(, but for getProgress, RecordReader's use getPos which is off if the deserializer has its own buffers. e.g., if you were to implement LineReaderDeserializer using LineRecordReader.LineReader. -- pete > Add serialization for Protocol Buffers > -------------------------------------- > > Key: HADOOP-3788 > URL: https://issues.apache.org/jira/browse/HADOOP-3788 > Project: Hadoop Core > Issue Type: Wish > Components: examples, mapred > Affects Versions: 0.19.0 > Reporter: Tom White > Assignee: Alex Loddengaard > Fix For: 0.19.0 > > Attachments: hadoop-3788-v1.patch, hadoop-3788-v2.patch, protobuf-java-2.0.1.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. - You can reply to this email to add a comment to the issue online.