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 CC63417229 for ; Mon, 26 Jan 2015 13:57:34 +0000 (UTC) Received: (qmail 95737 invoked by uid 500); 26 Jan 2015 13:57:35 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 95691 invoked by uid 500); 26 Jan 2015 13:57:35 -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 95680 invoked by uid 99); 26 Jan 2015 13:57:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jan 2015 13:57:35 +0000 Date: Mon, 26 Jan 2015 13:57:34 +0000 (UTC) From: "Will Temperley (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: 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 ] Will Temperley updated HBASE-7024: ---------------------------------- Attachment: HBASE-7024-multiscan.patch This patch removes unnecessary limits on types in some method overloads which were missed by the previous patch > 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: Improvement > Components: mapreduce > Reporter: Dave Beech > Priority: Minor > Fix For: 0.95.0 > > Attachments: HBASE-7024-multiscan.patch, 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 was sent by Atlassian JIRA (v6.3.4#6332)