You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Doğacan Güney (JIRA)" <ji...@apache.org> on 2009/07/14 21:07:14 UTC

[jira] Commented: (HBASE-1653) new o.a.h.h.mapreduce package is incompletely ported to o.a.h.mapreduce

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

Doğacan Güney commented on HBASE-1653:
--------------------------------------

I think you are looking at a non-trunk version. In trunk, TableOutputFormat seems to use the new mapreduce classes (and extend OutputFormat<KEY, Writable>)

> new o.a.h.h.mapreduce package is incompletely ported to o.a.h.mapreduce
> -----------------------------------------------------------------------
>
>                 Key: HBASE-1653
>                 URL: https://issues.apache.org/jira/browse/HBASE-1653
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>             Fix For: 0.20.0
>
>
> There should be no use of classes from o.a.h.mapred in o.a.h.h.mapreduce, only the classes in o.a.h.mapreduce. To do so invites problems by mixing compatibility mode with the >= 0.20 mapreduce classes. 
> From Yair Even-Zohar up on hbase-users@
> bq. Here is a snippet from TableOutputFormat (The new one in org.apache.hadoop.hbase.mapreduce)
> {code}
> import org.apache.hadoop.mapred.JobConf;
> import org.apache.hadoop.mapred.FileOutputFormat;
> public class TableOutputFormat extends
>     FileOutputFormat<ImmutableBytesWritable, Put> {
> {code}
> bq. Notice that TableOutputFormat extends the old (mapred) FileOutputFormat and thus the old OutputFormat.
> bq. Additionally, JobConf is deprecated too but that's beside the current point.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.