You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Will Temperley (JIRA)" <ji...@apache.org> on 2015/01/26 14:57:34 UTC

[jira] [Updated] (HBASE-7024) TableMapReduceUtil.initTableMapperJob unnecessarily limits the types of outputKeyClass and outputValueClass

     [ 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)