mirror of
https://github.com/apache/sqoop.git
synced 2025-05-04 02:52:19 +08:00
SQOOP-206. HBase import to use plugin InputFormat.
(Peter Hall via Arvind Prabhakar) From: Arvind Prabhakar <arvind@cloudera.com> git-svn-id: https://svn.apache.org/repos/asf/incubator/sqoop/trunk@1150035 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
da297a784b
commit
7fa8b68fab
@ -35,7 +35,6 @@
|
|||||||
import org.apache.hadoop.mapreduce.Job;
|
import org.apache.hadoop.mapreduce.Job;
|
||||||
import org.apache.hadoop.mapreduce.Mapper;
|
import org.apache.hadoop.mapreduce.Mapper;
|
||||||
import org.apache.hadoop.mapreduce.OutputFormat;
|
import org.apache.hadoop.mapreduce.OutputFormat;
|
||||||
import com.cloudera.sqoop.mapreduce.db.DataDrivenDBInputFormat;
|
|
||||||
|
|
||||||
import com.cloudera.sqoop.SqoopOptions;
|
import com.cloudera.sqoop.SqoopOptions;
|
||||||
import com.cloudera.sqoop.hbase.HBasePutProcessor;
|
import com.cloudera.sqoop.hbase.HBasePutProcessor;
|
||||||
@ -56,7 +55,7 @@ public class HBaseImportJob extends DataDrivenImportJob {
|
|||||||
|
|
||||||
public HBaseImportJob(final SqoopOptions opts,
|
public HBaseImportJob(final SqoopOptions opts,
|
||||||
final ImportJobContext importContext) {
|
final ImportJobContext importContext) {
|
||||||
super(opts, DataDrivenDBInputFormat.class, importContext);
|
super(opts, importContext.getInputFormat(), importContext);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user