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-843 Sqoop2: Generic JDBC connector is committing transaction on export with autoCommit on


Copy link to this message
-
Review Request: SQOOP-843 Sqoop2: Generic JDBC connector is committing transaction on export with autoCommit on

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

Review request for Sqoop.
Description
-------

I've extended Executor class to provide ability to set autoCommit and explicitly set it to false in export loader.
This addresses bug SQOOP-843.
    https://issues.apache.org/jira/browse/SQOOP-843
Diffs
-----

  connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcExecutor.java 2dba8af
  connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcExportLoader.java 31dbcea

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

Unit tests seems to be passing and I've tested the export on real cluster.
Thanks,

Jarek Cecho

+
Venkat Ranganathan 2013-01-23, 18:41
+
Cheolsoo Park 2013-01-30, 23:12