Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 23869 invoked from network); 28 Feb 2011 17:51:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Feb 2011 17:51:02 -0000 Received: (qmail 72131 invoked by uid 500); 28 Feb 2011 17:51:02 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 71930 invoked by uid 500); 28 Feb 2011 17:51:00 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 71626 invoked by uid 99); 28 Feb 2011 17:50:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Feb 2011 17:50:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Feb 2011 17:50:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2DF4D41C88 for ; Mon, 28 Feb 2011 17:50:37 +0000 (UTC) Date: Mon, 28 Feb 2011 17:50:37 +0000 (UTC) From: "Harsh J Chouraria (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <128110215.2234.1298915437185.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <9199842.205151292778482449.JavaMail.jira@thor> Subject: [jira] Updated: (MAPREDUCE-2225) MultipleOutputs should not require the use of 'Writable' MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-2225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harsh J Chouraria updated MAPREDUCE-2225: ----------------------------------------- Attachment: multipleoutputs.nowritables.r2.diff Sure, it should avoid a raw types warning I think? Here's a patch for that update. > MultipleOutputs should not require the use of 'Writable' > -------------------------------------------------------- > > Key: MAPREDUCE-2225 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2225 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: job submission > Affects Versions: 0.20.1 > Environment: Linux > Reporter: Harsh J Chouraria > Assignee: Harsh J Chouraria > Priority: Blocker > Fix For: 0.22.0 > > Attachments: multipleoutputs.nowritables.r1.diff, multipleoutputs.nowritables.r2.diff, multipleoutputs.nowritables.r2.diff > > Original Estimate: 1m > Remaining Estimate: 1m > > MultipleOutputs right now requires for Key/Value classes to utilize the Writable and WritableComparable interfaces, and fails if the associated key/value classes aren't doing so. > With support for alternates like Avro serialization, using Writables isn't necessary and thus the MO class must not strictly check for them. > And since comparators may be given separately, key class doesn't need to be checked for implementing a comparable (although it is good design if the key class does implement Comparable at least). > Am not sure if this brings about an incompatible change (does Java have BIC? No idea). -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira