Sqoop
  1. Sqoop
  2. SQOOP-384 Sqoop is incompatible with Hadoop prior to 0.21
  3. SQOOP-413

Port files org.apache.hadoop.mapreduce.lib.{db,input}.* from CDH3/Hadoop-0.21 to sqoop

    Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.1-incubating
    • Component/s: codegen
    • Labels:
      None

      Description

      We need to port following files from hadoop-0.21 (or CDH3) to sqoop to support hadoop-0.20 that is still in use:

      org.apache.hadoop.mapreduce.lib.db.DBWritable
      org.apache.hadoop.mapreduce.lib.input.CombineFileSplit
      org.apache.hadoop.mapreduce.lib.input.CombineFileInputFormat
      org.apache.hadoop.mapreduce.lib.input.CombineFileRecordReader

      1. SQOOP-413.patch
        55 kB
        Jarek Jarcec Cecho

        Issue Links

          Activity

          Hide
          Tom White added a comment -

          BTW I opened MAPREDUCE-3607, which should allow the ported classes in Sqoop to be removed in the future.

          It would be a useful exercise to change Sqoop to use those classes from a patched build of Hadoop to see if they are sufficient and that the tests pass.

          Show
          Tom White added a comment - BTW I opened MAPREDUCE-3607 , which should allow the ported classes in Sqoop to be removed in the future. It would be a useful exercise to change Sqoop to use those classes from a patched build of Hadoop to see if they are sufficient and that the tests pass.
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6 #71 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6/71/)
          SQOOP-413. Port files into Sqoop that are not found in prior versions of Hadoop.

          (Jarek Jarcec Cecho via Arvind Prabhakar)

          arvind : http://svn.apache.org/viewvc/?view=rev&rev=1221843
          Files :

          • /incubator/sqoop/trunk/src/java/com/cloudera/sqoop/mapreduce/CombineShimRecordReader.java
          • /incubator/sqoop/trunk/src/java/com/cloudera/sqoop/mapreduce/db/DBInputFormat.java
          • /incubator/sqoop/trunk/src/java/com/cloudera/sqoop/mapreduce/db/DBOutputFormat.java
          • /incubator/sqoop/trunk/src/java/com/cloudera/sqoop/mapreduce/db/DBRecordReader.java
          • /incubator/sqoop/trunk/src/java/com/cloudera/sqoop/mapreduce/db/DataDrivenDBInputFormat.java
          • /incubator/sqoop/trunk/src/java/com/cloudera/sqoop/mapreduce/db/DataDrivenDBRecordReader.java
          • /incubator/sqoop/trunk/src/java/com/cloudera/sqoop/mapreduce/db/OracleDBRecordReader.java
          • /incubator/sqoop/trunk/src/java/com/cloudera/sqoop/mapreduce/db/OracleDataDrivenDBInputFormat.java
          • /incubator/sqoop/trunk/src/java/com/cloudera/sqoop/mapreduce/db/OracleDataDrivenDBRecordReader.java
          • /incubator/sqoop/trunk/src/java/org/apache/sqoop/config/ConfigurationHelper.java
          • /incubator/sqoop/trunk/src/java/org/apache/sqoop/lib/SqoopRecord.java
          • /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/CombineFileInputFormat.java
          • /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/CombineFileRecordReader.java
          • /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/CombineFileSplit.java
          • /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/CombineShimRecordReader.java
          • /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/DBWritable.java
          • /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/DataDrivenImportJob.java
          • /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/ExportInputFormat.java
          • /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/MySQLDumpImportJob.java
          • /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/MySQLExportJob.java
          • /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/db/DBConfiguration.java
          • /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/db/DBInputFormat.java
          • /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/db/DBOutputFormat.java
          • /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/db/DBRecordReader.java
          • /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/db/DataDrivenDBInputFormat.java
          • /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/db/DataDrivenDBRecordReader.java
          • /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/db/OracleDBRecordReader.java
          • /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/db/OracleDataDrivenDBInputFormat.java
          • /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/db/OracleDataDrivenDBRecordReader.java
          • /incubator/sqoop/trunk/src/test/com/cloudera/sqoop/mapreduce/db/TestDataDrivenDBInputFormat.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6 #71 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6/71/ ) SQOOP-413 . Port files into Sqoop that are not found in prior versions of Hadoop. (Jarek Jarcec Cecho via Arvind Prabhakar) arvind : http://svn.apache.org/viewvc/?view=rev&rev=1221843 Files : /incubator/sqoop/trunk/src/java/com/cloudera/sqoop/mapreduce/CombineShimRecordReader.java /incubator/sqoop/trunk/src/java/com/cloudera/sqoop/mapreduce/db/DBInputFormat.java /incubator/sqoop/trunk/src/java/com/cloudera/sqoop/mapreduce/db/DBOutputFormat.java /incubator/sqoop/trunk/src/java/com/cloudera/sqoop/mapreduce/db/DBRecordReader.java /incubator/sqoop/trunk/src/java/com/cloudera/sqoop/mapreduce/db/DataDrivenDBInputFormat.java /incubator/sqoop/trunk/src/java/com/cloudera/sqoop/mapreduce/db/DataDrivenDBRecordReader.java /incubator/sqoop/trunk/src/java/com/cloudera/sqoop/mapreduce/db/OracleDBRecordReader.java /incubator/sqoop/trunk/src/java/com/cloudera/sqoop/mapreduce/db/OracleDataDrivenDBInputFormat.java /incubator/sqoop/trunk/src/java/com/cloudera/sqoop/mapreduce/db/OracleDataDrivenDBRecordReader.java /incubator/sqoop/trunk/src/java/org/apache/sqoop/config/ConfigurationHelper.java /incubator/sqoop/trunk/src/java/org/apache/sqoop/lib/SqoopRecord.java /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/CombineFileInputFormat.java /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/CombineFileRecordReader.java /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/CombineFileSplit.java /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/CombineShimRecordReader.java /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/DBWritable.java /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/DataDrivenImportJob.java /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/ExportInputFormat.java /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/MySQLDumpImportJob.java /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/MySQLExportJob.java /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/db/DBConfiguration.java /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/db/DBInputFormat.java /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/db/DBOutputFormat.java /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/db/DBRecordReader.java /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/db/DataDrivenDBInputFormat.java /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/db/DataDrivenDBRecordReader.java /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/db/OracleDBRecordReader.java /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/db/OracleDataDrivenDBInputFormat.java /incubator/sqoop/trunk/src/java/org/apache/sqoop/mapreduce/db/OracleDataDrivenDBRecordReader.java /incubator/sqoop/trunk/src/test/com/cloudera/sqoop/mapreduce/db/TestDataDrivenDBInputFormat.java
          Hide
          Arvind Prabhakar added a comment -

          Patch committed. Thanks Jarcec!

          Show
          Arvind Prabhakar added a comment - Patch committed. Thanks Jarcec!
          Hide
          jiraposter@reviews.apache.org added a comment -

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

          Ship it!

          +1

          Did more sanity testing. All looks good.

          • Arvind

          On 2011-12-21 06:26:13, Jarek Cecho wrote:

          -----------------------------------------------------------

          This is an automatically generated e-mail. To reply, visit:

          https://reviews.apache.org/r/3272/

          -----------------------------------------------------------

          (Updated 2011-12-21 06:26:13)

          Review request for Sqoop and Arvind Prabhakar.

          Summary

          -------

          I've copypasted all four files from CHD3 release and put them into sqoop mapreduce module (I altered files to conform our checkstyle policy). I've also changed all references in sqoop to use this new four classes instead of the default ones present in hadoop-0.21.

          This addresses bug SQOOP-413.

          https://issues.apache.org/jira/browse/SQOOP-413

          Diffs

          -----

          /src/java/com/cloudera/sqoop/mapreduce/CombineShimRecordReader.java 1221303

          /src/java/com/cloudera/sqoop/mapreduce/db/DBInputFormat.java 1221303

          /src/java/com/cloudera/sqoop/mapreduce/db/DBOutputFormat.java 1221303

          /src/java/com/cloudera/sqoop/mapreduce/db/DBRecordReader.java 1221303

          /src/java/com/cloudera/sqoop/mapreduce/db/DataDrivenDBInputFormat.java 1221303

          /src/java/com/cloudera/sqoop/mapreduce/db/DataDrivenDBRecordReader.java 1221303

          /src/java/com/cloudera/sqoop/mapreduce/db/OracleDBRecordReader.java 1221303

          /src/java/com/cloudera/sqoop/mapreduce/db/OracleDataDrivenDBInputFormat.java 1221303

          /src/java/com/cloudera/sqoop/mapreduce/db/OracleDataDrivenDBRecordReader.java 1221303

          /src/java/org/apache/sqoop/config/ConfigurationHelper.java 1221303

          /src/java/org/apache/sqoop/lib/SqoopRecord.java 1221303

          /src/java/org/apache/sqoop/mapreduce/CombineFileInputFormat.java PRE-CREATION

          /src/java/org/apache/sqoop/mapreduce/CombineFileRecordReader.java PRE-CREATION

          /src/java/org/apache/sqoop/mapreduce/CombineFileSplit.java PRE-CREATION

          /src/java/org/apache/sqoop/mapreduce/CombineShimRecordReader.java 1221303

          /src/java/org/apache/sqoop/mapreduce/DBWritable.java PRE-CREATION

          /src/java/org/apache/sqoop/mapreduce/DataDrivenImportJob.java 1221303

          /src/java/org/apache/sqoop/mapreduce/ExportInputFormat.java 1221303

          /src/java/org/apache/sqoop/mapreduce/MySQLDumpImportJob.java 1221303

          /src/java/org/apache/sqoop/mapreduce/MySQLExportJob.java 1221303

          /src/java/org/apache/sqoop/mapreduce/db/DBConfiguration.java 1221303

          /src/java/org/apache/sqoop/mapreduce/db/DBInputFormat.java 1221303

          /src/java/org/apache/sqoop/mapreduce/db/DBOutputFormat.java 1221303

          /src/java/org/apache/sqoop/mapreduce/db/DBRecordReader.java 1221303

          /src/java/org/apache/sqoop/mapreduce/db/DataDrivenDBInputFormat.java 1221303

          /src/java/org/apache/sqoop/mapreduce/db/DataDrivenDBRecordReader.java 1221303

          /src/java/org/apache/sqoop/mapreduce/db/OracleDBRecordReader.java 1221303

          /src/java/org/apache/sqoop/mapreduce/db/OracleDataDrivenDBInputFormat.java 1221303

          /src/java/org/apache/sqoop/mapreduce/db/OracleDataDrivenDBRecordReader.java 1221303

          /src/test/com/cloudera/sqoop/mapreduce/db/TestDataDrivenDBInputFormat.java 1221303

          Diff: https://reviews.apache.org/r/3272/diff

          Testing

          -------

          I've tested with both -Dhadopoversion=20 and -Dhadoopversion=23.

          Thanks,

          Jarek

          Show
          jiraposter@reviews.apache.org added a comment - ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/3272/#review4054 ----------------------------------------------------------- Ship it! +1 Did more sanity testing. All looks good. Arvind On 2011-12-21 06:26:13, Jarek Cecho wrote: ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/3272/ ----------------------------------------------------------- (Updated 2011-12-21 06:26:13) Review request for Sqoop and Arvind Prabhakar. Summary ------- I've copypasted all four files from CHD3 release and put them into sqoop mapreduce module (I altered files to conform our checkstyle policy). I've also changed all references in sqoop to use this new four classes instead of the default ones present in hadoop-0.21. This addresses bug SQOOP-413 . https://issues.apache.org/jira/browse/SQOOP-413 Diffs ----- /src/java/com/cloudera/sqoop/mapreduce/CombineShimRecordReader.java 1221303 /src/java/com/cloudera/sqoop/mapreduce/db/DBInputFormat.java 1221303 /src/java/com/cloudera/sqoop/mapreduce/db/DBOutputFormat.java 1221303 /src/java/com/cloudera/sqoop/mapreduce/db/DBRecordReader.java 1221303 /src/java/com/cloudera/sqoop/mapreduce/db/DataDrivenDBInputFormat.java 1221303 /src/java/com/cloudera/sqoop/mapreduce/db/DataDrivenDBRecordReader.java 1221303 /src/java/com/cloudera/sqoop/mapreduce/db/OracleDBRecordReader.java 1221303 /src/java/com/cloudera/sqoop/mapreduce/db/OracleDataDrivenDBInputFormat.java 1221303 /src/java/com/cloudera/sqoop/mapreduce/db/OracleDataDrivenDBRecordReader.java 1221303 /src/java/org/apache/sqoop/config/ConfigurationHelper.java 1221303 /src/java/org/apache/sqoop/lib/SqoopRecord.java 1221303 /src/java/org/apache/sqoop/mapreduce/CombineFileInputFormat.java PRE-CREATION /src/java/org/apache/sqoop/mapreduce/CombineFileRecordReader.java PRE-CREATION /src/java/org/apache/sqoop/mapreduce/CombineFileSplit.java PRE-CREATION /src/java/org/apache/sqoop/mapreduce/CombineShimRecordReader.java 1221303 /src/java/org/apache/sqoop/mapreduce/DBWritable.java PRE-CREATION /src/java/org/apache/sqoop/mapreduce/DataDrivenImportJob.java 1221303 /src/java/org/apache/sqoop/mapreduce/ExportInputFormat.java 1221303 /src/java/org/apache/sqoop/mapreduce/MySQLDumpImportJob.java 1221303 /src/java/org/apache/sqoop/mapreduce/MySQLExportJob.java 1221303 /src/java/org/apache/sqoop/mapreduce/db/DBConfiguration.java 1221303 /src/java/org/apache/sqoop/mapreduce/db/DBInputFormat.java 1221303 /src/java/org/apache/sqoop/mapreduce/db/DBOutputFormat.java 1221303 /src/java/org/apache/sqoop/mapreduce/db/DBRecordReader.java 1221303 /src/java/org/apache/sqoop/mapreduce/db/DataDrivenDBInputFormat.java 1221303 /src/java/org/apache/sqoop/mapreduce/db/DataDrivenDBRecordReader.java 1221303 /src/java/org/apache/sqoop/mapreduce/db/OracleDBRecordReader.java 1221303 /src/java/org/apache/sqoop/mapreduce/db/OracleDataDrivenDBInputFormat.java 1221303 /src/java/org/apache/sqoop/mapreduce/db/OracleDataDrivenDBRecordReader.java 1221303 /src/test/com/cloudera/sqoop/mapreduce/db/TestDataDrivenDBInputFormat.java 1221303 Diff: https://reviews.apache.org/r/3272/diff Testing ------- I've tested with both -Dhadopoversion=20 and -Dhadoopversion=23. Thanks, Jarek
          Hide
          Jarek Jarcec Cecho added a comment -

          I've copypasted all four files from CHD3 release and put them into sqoop mapreduce module. I also altered them to conform our checkstyle policy.

          Show
          Jarek Jarcec Cecho added a comment - I've copypasted all four files from CHD3 release and put them into sqoop mapreduce module. I also altered them to conform our checkstyle policy.
          Hide
          jiraposter@reviews.apache.org added a comment -

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

          (Updated 2011-12-21 06:26:13.743283)

          Review request for Sqoop and Arvind Prabhakar.

          Changes
          -------

          Changed JIRA issue (Bugs field) to SQOOP-413 as this is the relevant one.

          Summary (updated)
          -------

          I've copypasted all four files from CHD3 release and put them into sqoop mapreduce module (I altered files to conform our checkstyle policy). I've also changed all references in sqoop to use this new four classes instead of the default ones present in hadoop-0.21.

          This addresses bug SQOOP-413.
          https://issues.apache.org/jira/browse/SQOOP-413

          Diffs


          /src/java/com/cloudera/sqoop/mapreduce/CombineShimRecordReader.java 1221303
          /src/java/com/cloudera/sqoop/mapreduce/db/DBInputFormat.java 1221303
          /src/java/com/cloudera/sqoop/mapreduce/db/DBOutputFormat.java 1221303
          /src/java/com/cloudera/sqoop/mapreduce/db/DBRecordReader.java 1221303
          /src/java/com/cloudera/sqoop/mapreduce/db/DataDrivenDBInputFormat.java 1221303
          /src/java/com/cloudera/sqoop/mapreduce/db/DataDrivenDBRecordReader.java 1221303
          /src/java/com/cloudera/sqoop/mapreduce/db/OracleDBRecordReader.java 1221303
          /src/java/com/cloudera/sqoop/mapreduce/db/OracleDataDrivenDBInputFormat.java 1221303
          /src/java/com/cloudera/sqoop/mapreduce/db/OracleDataDrivenDBRecordReader.java 1221303
          /src/java/org/apache/sqoop/config/ConfigurationHelper.java 1221303
          /src/java/org/apache/sqoop/lib/SqoopRecord.java 1221303
          /src/java/org/apache/sqoop/mapreduce/CombineFileInputFormat.java PRE-CREATION
          /src/java/org/apache/sqoop/mapreduce/CombineFileRecordReader.java PRE-CREATION
          /src/java/org/apache/sqoop/mapreduce/CombineFileSplit.java PRE-CREATION
          /src/java/org/apache/sqoop/mapreduce/CombineShimRecordReader.java 1221303
          /src/java/org/apache/sqoop/mapreduce/DBWritable.java PRE-CREATION
          /src/java/org/apache/sqoop/mapreduce/DataDrivenImportJob.java 1221303
          /src/java/org/apache/sqoop/mapreduce/ExportInputFormat.java 1221303
          /src/java/org/apache/sqoop/mapreduce/MySQLDumpImportJob.java 1221303
          /src/java/org/apache/sqoop/mapreduce/MySQLExportJob.java 1221303
          /src/java/org/apache/sqoop/mapreduce/db/DBConfiguration.java 1221303
          /src/java/org/apache/sqoop/mapreduce/db/DBInputFormat.java 1221303
          /src/java/org/apache/sqoop/mapreduce/db/DBOutputFormat.java 1221303
          /src/java/org/apache/sqoop/mapreduce/db/DBRecordReader.java 1221303
          /src/java/org/apache/sqoop/mapreduce/db/DataDrivenDBInputFormat.java 1221303
          /src/java/org/apache/sqoop/mapreduce/db/DataDrivenDBRecordReader.java 1221303
          /src/java/org/apache/sqoop/mapreduce/db/OracleDBRecordReader.java 1221303
          /src/java/org/apache/sqoop/mapreduce/db/OracleDataDrivenDBInputFormat.java 1221303
          /src/java/org/apache/sqoop/mapreduce/db/OracleDataDrivenDBRecordReader.java 1221303
          /src/test/com/cloudera/sqoop/mapreduce/db/TestDataDrivenDBInputFormat.java 1221303

          Diff: https://reviews.apache.org/r/3272/diff

          Testing
          -------

          I've tested with both -Dhadopoversion=20 and -Dhadoopversion=23.

          Thanks,

          Jarek

          Show
          jiraposter@reviews.apache.org added a comment - ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/3272/ ----------------------------------------------------------- (Updated 2011-12-21 06:26:13.743283) Review request for Sqoop and Arvind Prabhakar. Changes ------- Changed JIRA issue (Bugs field) to SQOOP-413 as this is the relevant one. Summary (updated) ------- I've copypasted all four files from CHD3 release and put them into sqoop mapreduce module (I altered files to conform our checkstyle policy). I've also changed all references in sqoop to use this new four classes instead of the default ones present in hadoop-0.21. This addresses bug SQOOP-413 . https://issues.apache.org/jira/browse/SQOOP-413 Diffs /src/java/com/cloudera/sqoop/mapreduce/CombineShimRecordReader.java 1221303 /src/java/com/cloudera/sqoop/mapreduce/db/DBInputFormat.java 1221303 /src/java/com/cloudera/sqoop/mapreduce/db/DBOutputFormat.java 1221303 /src/java/com/cloudera/sqoop/mapreduce/db/DBRecordReader.java 1221303 /src/java/com/cloudera/sqoop/mapreduce/db/DataDrivenDBInputFormat.java 1221303 /src/java/com/cloudera/sqoop/mapreduce/db/DataDrivenDBRecordReader.java 1221303 /src/java/com/cloudera/sqoop/mapreduce/db/OracleDBRecordReader.java 1221303 /src/java/com/cloudera/sqoop/mapreduce/db/OracleDataDrivenDBInputFormat.java 1221303 /src/java/com/cloudera/sqoop/mapreduce/db/OracleDataDrivenDBRecordReader.java 1221303 /src/java/org/apache/sqoop/config/ConfigurationHelper.java 1221303 /src/java/org/apache/sqoop/lib/SqoopRecord.java 1221303 /src/java/org/apache/sqoop/mapreduce/CombineFileInputFormat.java PRE-CREATION /src/java/org/apache/sqoop/mapreduce/CombineFileRecordReader.java PRE-CREATION /src/java/org/apache/sqoop/mapreduce/CombineFileSplit.java PRE-CREATION /src/java/org/apache/sqoop/mapreduce/CombineShimRecordReader.java 1221303 /src/java/org/apache/sqoop/mapreduce/DBWritable.java PRE-CREATION /src/java/org/apache/sqoop/mapreduce/DataDrivenImportJob.java 1221303 /src/java/org/apache/sqoop/mapreduce/ExportInputFormat.java 1221303 /src/java/org/apache/sqoop/mapreduce/MySQLDumpImportJob.java 1221303 /src/java/org/apache/sqoop/mapreduce/MySQLExportJob.java 1221303 /src/java/org/apache/sqoop/mapreduce/db/DBConfiguration.java 1221303 /src/java/org/apache/sqoop/mapreduce/db/DBInputFormat.java 1221303 /src/java/org/apache/sqoop/mapreduce/db/DBOutputFormat.java 1221303 /src/java/org/apache/sqoop/mapreduce/db/DBRecordReader.java 1221303 /src/java/org/apache/sqoop/mapreduce/db/DataDrivenDBInputFormat.java 1221303 /src/java/org/apache/sqoop/mapreduce/db/DataDrivenDBRecordReader.java 1221303 /src/java/org/apache/sqoop/mapreduce/db/OracleDBRecordReader.java 1221303 /src/java/org/apache/sqoop/mapreduce/db/OracleDataDrivenDBInputFormat.java 1221303 /src/java/org/apache/sqoop/mapreduce/db/OracleDataDrivenDBRecordReader.java 1221303 /src/test/com/cloudera/sqoop/mapreduce/db/TestDataDrivenDBInputFormat.java 1221303 Diff: https://reviews.apache.org/r/3272/diff Testing ------- I've tested with both -Dhadopoversion=20 and -Dhadoopversion=23. Thanks, Jarek
          Hide
          Arvind Prabhakar added a comment -

          I don't think there is any problem in doing that, specially since both these projects are under ASF. Go for it!

          Show
          Arvind Prabhakar added a comment - I don't think there is any problem in doing that, specially since both these projects are under ASF. Go for it!
          Hide
          Arvind Prabhakar added a comment -

          I don't think there is any problem in doing that, specially since both these projects are under ASF. Go for it!

          Show
          Arvind Prabhakar added a comment - I don't think there is any problem in doing that, specially since both these projects are under ASF. Go for it!
          Hide
          Jarek Jarcec Cecho added a comment -

          I have a license question here. Can I simply take those files from hadoop-0.21 and put them into sqoop (into different module, so that we won't break anything)? I will "borrow" the code from another apache project, so I believe that should be fine, but I would like to verify that in front of doing any changes.

          Show
          Jarek Jarcec Cecho added a comment - I have a license question here. Can I simply take those files from hadoop-0.21 and put them into sqoop (into different module, so that we won't break anything)? I will "borrow" the code from another apache project, so I believe that should be fine, but I would like to verify that in front of doing any changes.

            People

            • Assignee:
              Jarek Jarcec Cecho
              Reporter:
              Jarek Jarcec Cecho
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development