Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Sqoop, mail # dev - Review Request: SQOOP-588 Provide MapReduce classes for executing ETL classes


+
Bilung Lee 2012-08-28, 20:25
Copy link to this message
-
Re: Review Request: SQOOP-588 Provide MapReduce classes for executing ETL classes
Bilung Lee 2012-08-28, 21:56

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/6811/
-----------------------------------------------------------

(Updated Aug. 28, 2012, 9:56 p.m.)
Review request for Sqoop.
Description
-------

This patch provides necessary MapReduce classes (split, input format, mapper, and output format) for executing ETL classes (partition, partitioner, extractor, and loader).

Basically
- partition is used by split
- partitioner is invoked by input format
- extractor is invoked by mapper
- loader is invoked by output format
This addresses bug SQOOP-588.
    https://issues.apache.org/jira/browse/SQOOP-588
Diffs (updated)
-----

  branches/sqoop2/connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcExportLoader.java 1373167
  branches/sqoop2/connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcImportPartition.java PRE-CREATION
  branches/sqoop2/connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcImportPartitioner.java 1373167
  branches/sqoop2/core/pom.xml 1373167
  branches/sqoop2/core/src/main/java/org/apache/sqoop/core/CoreError.java 1373167
  branches/sqoop2/core/src/main/java/org/apache/sqoop/job/JobConstants.java PRE-CREATION
  branches/sqoop2/core/src/main/java/org/apache/sqoop/job/etl/EtlContext.java PRE-CREATION
  branches/sqoop2/core/src/main/java/org/apache/sqoop/job/etl/EtlMutableContext.java PRE-CREATION
  branches/sqoop2/core/src/main/java/org/apache/sqoop/job/io/Data.java PRE-CREATION
  branches/sqoop2/core/src/main/java/org/apache/sqoop/job/io/FieldTypes.java PRE-CREATION
  branches/sqoop2/core/src/main/java/org/apache/sqoop/job/mr/SqoopFileOutputFormat.java PRE-CREATION
  branches/sqoop2/core/src/main/java/org/apache/sqoop/job/mr/SqoopInputFormat.java PRE-CREATION
  branches/sqoop2/core/src/main/java/org/apache/sqoop/job/mr/SqoopMapper.java PRE-CREATION
  branches/sqoop2/core/src/main/java/org/apache/sqoop/job/mr/SqoopNullOutputFormat.java PRE-CREATION
  branches/sqoop2/core/src/main/java/org/apache/sqoop/job/mr/SqoopOutputFormatLoadExecutor.java PRE-CREATION
  branches/sqoop2/core/src/main/java/org/apache/sqoop/job/mr/SqoopSplit.java PRE-CREATION
  branches/sqoop2/core/src/test/java/org/apache/sqoop/job/TestMapReduce.java PRE-CREATION
  branches/sqoop2/spi/src/main/java/org/apache/sqoop/job/etl/Context.java 1373167
  branches/sqoop2/spi/src/main/java/org/apache/sqoop/job/etl/Partition.java 1373167
  branches/sqoop2/spi/src/main/java/org/apache/sqoop/job/io/DataReader.java 1373167
  branches/sqoop2/spi/src/main/java/org/apache/sqoop/job/io/DataWriter.java 1373167

Diff: https://reviews.apache.org/r/6811/diff/
Testing
-------

Create a new TestMapReduce test case
Thanks,

Bilung Lee

+
Bilung Lee 2012-08-28, 22:08
+
Jarek Cecho 2012-08-31, 05:48
+
Bilung Lee 2012-08-31, 06:14