Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 70945 invoked from network); 28 Nov 2006 18:19:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Nov 2006 18:19:54 -0000 Received: (qmail 32732 invoked by uid 500); 28 Nov 2006 18:19:57 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 32648 invoked by uid 500); 28 Nov 2006 18:19:57 -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 32504 invoked by uid 99); 28 Nov 2006 18:19:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Nov 2006 10:19:56 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Tue, 28 Nov 2006 10:19:46 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CA5417142F9 for ; Tue, 28 Nov 2006 10:19:26 -0800 (PST) Message-ID: <29490979.1164737966826.JavaMail.jira@brutus> Date: Tue, 28 Nov 2006 10:19:26 -0800 (PST) From: "Hadoop QA (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-689) hadoop should provide a common way to wrap instances with different types into one type In-Reply-To: <2487900.1162955810892.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 [ http://issues.apache.org/jira/browse/HADOOP-689?page=comments#action_12454060 ] Hadoop QA commented on HADOOP-689: ---------------------------------- +1, http://issues.apache.org/jira/secure/attachment/12345896/HADOOP-689.patch.new applied and successfully tested against trunk revision 480142 > hadoop should provide a common way to wrap instances with different types into one type > --------------------------------------------------------------------------------------- > > Key: HADOOP-689 > URL: http://issues.apache.org/jira/browse/HADOOP-689 > Project: Hadoop > Issue Type: Improvement > Components: io > Environment: All environment > Reporter: Feng Jiang > Attachments: HADOOP-689.patch, HADOOP-689.patch.new > > > When two sequence files, which have same Key type but different Value types, are mapped out to reduce, multiple Value types is not allowed. In this case, we need a way to wrap instances with different types into one class type to reduce. > In current code, ObjectWritable is a sole choice. but it costs too many space, because the class declaration will be appended into output file as a string for every Key-value pair. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira