Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 00F88DA38 for ; Tue, 23 Oct 2012 10:37:14 +0000 (UTC) Received: (qmail 62516 invoked by uid 500); 23 Oct 2012 10:37:14 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 62331 invoked by uid 500); 23 Oct 2012 10:37:13 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 62255 invoked by uid 99); 23 Oct 2012 10:37:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2012 10:37:12 +0000 Date: Tue, 23 Oct 2012 10:37:12 +0000 (UTC) From: "Dave Beech (JIRA)" To: issues@hbase.apache.org Message-ID: <1893745281.15269.1350988632413.JavaMail.jiratomcat@arcas> In-Reply-To: <2141886034.10137.1350921012145.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (HBASE-7024) TableMapReduceUtil.initTableMapperJob unnecessarily limits the types of outputKeyClass and outputValueClass MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-7024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Beech updated HBASE-7024: ------------------------------ Attachment: HBASE-7024.patch OK, thanks. Can I propose this patch - it simply removes the "extends Writable/WritableConfigurable" bit from the outputKeyClass and outputValueClass parameters > TableMapReduceUtil.initTableMapperJob unnecessarily limits the types of outputKeyClass and outputValueClass > ----------------------------------------------------------------------------------------------------------- > > Key: HBASE-7024 > URL: https://issues.apache.org/jira/browse/HBASE-7024 > Project: HBase > Issue Type: Bug > Components: mapreduce > Reporter: Dave Beech > Priority: Minor > Attachments: HBASE-7024.patch > > > The various initTableMapperJob methods in TableMapReduceUtil take outputKeyClass and outputValueClass parameters which need to extend WritableComparable and Writable respectively. > Because of this, it is not convenient to use an alternative serialization like Avro. (I wanted to set these parameters to AvroKey and AvroValue). > The methods in the MapReduce API to set map output key and value types do not impose this restriction, so is there a reason to do it here? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira