sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Masatake Iwasaki" <iwasak...@oss.nttdata.co.jp>
Subject Re: Review Request 12048: SQOOP-999: Support bulk load from HDFS to PostgreSQL using COPY ... FROM
Date Tue, 02 Jul 2013 09:05:47 GMT

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

(Updated July 2, 2013, 9:05 a.m.)

Review request for Sqoop.


- throw Exception when HCatalog table name is specified.
- added debug print.
- made test database location and username configurable.
- refactored the name of mapper class.

Bugs: SQOOP-999

Repository: sqoop-trunk


Export with PostgreSQL Copy API can be realized in a straitforward way. Attached file is not
complete patch but sample implementation without tests and consideration for corner cases.
Though this code resolves dependency for PostgreSQL JDBC by ivy, is it acceptable for the

Diffs (updated)

  ivy.xml 750adfc 
  ivy/libraries.properties 430d554 
  src/java/org/apache/sqoop/manager/DirectPostgresqlManager.java c085218 
  src/java/org/apache/sqoop/mapreduce/PostgreSQLCopyExportJob.java PRE-CREATION 
  src/java/org/apache/sqoop/mapreduce/PostgreSQLCopyExportMapper.java PRE-CREATION 
  src/test/com/cloudera/sqoop/manager/DirectPostgreSQLExportManualTest.java PRE-CREATION 

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



Masatake Iwasaki

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message