hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] Created: (HBASE-1653) new o.a.h.h.mapreduce package is incompletely ported to o.a.h.mapreduce
Date Tue, 14 Jul 2009 18:17:15 GMT
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.


Mime
View raw message