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 9433B10648 for ; Tue, 27 Jan 2015 09:26:34 +0000 (UTC) Received: (qmail 45968 invoked by uid 500); 27 Jan 2015 09:26:34 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 45920 invoked by uid 500); 27 Jan 2015 09:26:34 -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 45908 invoked by uid 99); 27 Jan 2015 09:26:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jan 2015 09:26:34 +0000 Date: Tue, 27 Jan 2015 09:26:34 +0000 (UTC) From: "Will Temperley (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-12929) 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-12929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Temperley updated HBASE-12929: ----------------------------------- Attachment: HBASE-12929.patch This removes the "extends Writable/WritableConfigurable" type restrictions on some initTableMapperJob overloads > TableMapReduceUtil.initTableMapperJob unnecessarily limits the types of outputKeyClass and outputValueClass > ----------------------------------------------------------------------------------------------------------- > > Key: HBASE-12929 > URL: https://issues.apache.org/jira/browse/HBASE-12929 > Project: HBase > Issue Type: Improvement > Components: mapreduce > Reporter: Will Temperley > Priority: Minor > Labels: mapreduce > Attachments: HBASE-12929.patch > > Original Estimate: 2h > Remaining Estimate: 2h > > The initTableMapperJob methods in TableMapReduceUtil which take multiple scans unnecessarily limit the types of the outputKeyClass and outputValueClass parameters, requiring them to extend WritableComparable and Writable respectively. > In my specific use case, therefore, I cannot create a mapper job which outputs an hbase.client.Result. > The methods in the MapReduce API to set map output key and value types do not impose this restriction. > The other overloads of initTableMapperJob do not have this limitation - the restrictions were removed by https://issues.apache.org/jira/browse/HBASE-7024 -- This message was sent by Atlassian JIRA (v6.3.4#6332)