Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 32652 invoked from network); 10 Oct 2007 06:23:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Oct 2007 06:23:14 -0000 Received: (qmail 8466 invoked by uid 500); 10 Oct 2007 06:23:00 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 8162 invoked by uid 500); 10 Oct 2007 06:22:59 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 7991 invoked by uid 99); 10 Oct 2007 06:22:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2007 23:22:59 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2007 06:23:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EEC67714233 for ; Tue, 9 Oct 2007 23:22:50 -0700 (PDT) Message-ID: <31424523.1191997370975.JavaMail.jira@brutus> Date: Tue, 9 Oct 2007 23:22:50 -0700 (PDT) From: "Vivek Ratan (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-1986) Add support for a general serialization mechanism for Map Reduce In-Reply-To: <8648883.1191358670825.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-1986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533622 ] Vivek Ratan commented on HADOOP-1986: ------------------------------------- I forgot to add - using introspection to walk through a class has some more problems. Things like versioning, and other kinds of optimizations will be difficult with general introspection. As someone mentioned in the Thrift discussion, it also doesn't handle field IDs in DDLs, and other features (such as default values, optional fields) that serialization platforms will want to support. For such cases, DDL-generated classes are better. By offering both approaches, we can let users and developers decide on the tradeoff : ease of use versus more complicated functionality. > Add support for a general serialization mechanism for Map Reduce > ---------------------------------------------------------------- > > Key: HADOOP-1986 > URL: https://issues.apache.org/jira/browse/HADOOP-1986 > Project: Hadoop > Issue Type: New Feature > Components: mapred > Reporter: Tom White > Assignee: Tom White > Fix For: 0.16.0 > > Attachments: SerializableWritable.java > > > Currently Map Reduce programs have to use WritableComparable-Writable key-value pairs. While it's possible to write Writable wrappers for other serialization frameworks (such as Thrift), this is not very convenient: it would be nicer to be able to use arbitrary types directly, without explicit wrapping and unwrapping. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.