[ 
https://issues.apache.org/jira/browse/HBASE-13028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14321594#comment-14321594
 ] 

stack commented on HBASE-13028:
-------------------------------

Porting my +1 from RB here.

> Cleanup mapreduce API changes
> -----------------------------
>
>                 Key: HBASE-13028
>                 URL: https://issues.apache.org/jira/browse/HBASE-13028
>             Project: HBase
>          Issue Type: Bug
>          Components: mapreduce
>    Affects Versions: 1.0.0
>            Reporter: Sean Busbey
>            Assignee: Sean Busbey
>            Priority: Blocker
>              Labels: api
>             Fix For: 1.0.0, 2.0.0
>
>         Attachments: HBASE-13028.1.patch.txt, HBASE-13028.2.patch.txt, 
> HBASE-13028.3.patch.txt
>
>
> The API changes made in HBASE-12798 need to be cleaned up so their common use 
> makes more sense.
> * initialize should take some kind of configuration object that can be used 
> in setting up a Connection (e.g. JobConf)
> * initialize should be called at the start of getSplits and getRecordReader 
> rather than across the class when a member is needed
> * the same changes should be present in the mapred package since it is not 
> longer deprecated
> * examples should rely on idiomatic MapReduce (specifically they should not 
> be relying on JobConfigurable to get a JobConf instance)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to