On Sun, Jan 9, 2011 at 5:02 PM, Ted Yu <yuzhih...@gmail.com> wrote: > Hi, > Our current InputFormat implements org.apache.hadoop.mapred.InputFormat > > InputSampler uses org.apache.hadoop.mapreduce.InputFormat > > If there is a way to reuse our InputFormat directly, please comment (though > I expect a rewrite). >
Its just change of imports and maybe a bit of messing w/ apis? Is it a rewrite? Are you referring to org.apache.hadoop.hbase.mapreduce.hadoopbackport.InputSampler? If so, this is a forward port of a mapred.InputSampler. You might be able to keep all to do w/ your original InputFormat back in the mapred with some exploration? Good luck Ted, St.Ack