[ 
https://issues.apache.org/jira/browse/HBASE-10526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Xiang updated HBASE-10526:
--------------------------------

    Status: Patch Available  (was: Open)

Attached a patch that added a new class HFileOutputFormat2. To share the code, 
most of the functions in HFileOutputFormat are moved to HFileOutputFormat2.

As long as old client applications don't use the package protected 
methods/class in HFileOutputFormat, they will still work as before.

It's recommended to use HFileOutputFormat2.configureIncrementalLoad to 
configure a corresponding Job.  If users want to configure the Job themselves, 
they still need to specify the output value class to KeyValue 
(setOutputValueClass) because MR ensures the output value class is an actual 
class instead of interface/abstract class.

> Using Cell instead of KeyValue in HFileOutputFormat
> ---------------------------------------------------
>
>                 Key: HBASE-10526
>                 URL: https://issues.apache.org/jira/browse/HBASE-10526
>             Project: HBase
>          Issue Type: Sub-task
>          Components: mapreduce
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>         Attachments: hbase-10526.patch
>
>
> HFileOutputFormat/KeyValueSortReducer use KeyValue. We should deprecate them 
> and use Cell instead.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to