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-908 Sqoop2 integration: Create MySQL and PostgreSQL database providers


+
Jarek Cecho 2013-02-25, 01:11
Copy link to this message
-
Re: Review Request: SQOOP-908 Sqoop2 integration: Create MySQL and PostgreSQL database providers

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

Ship it!
Ship It!

- Cheolsoo Park
On Feb. 25, 2013, 1:11 a.m., Jarek Cecho wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/9579/
> -----------------------------------------------------------
>
> (Updated Feb. 25, 2013, 1:11 a.m.)
>
>
> Review request for Sqoop.
>
>
> Description
> -------
>
> I've provided MySQL and PostgreSQL Database providers that can be used in the POC test case.
>
>
> This addresses bug SQOOP-908.
>     https://issues.apache.org/jira/browse/SQOOP-908
>
>
> Diffs
> -----
>
>   pom.xml b5694730c4a8bd90a692ca3d44fbb6870abbf99e
>   test/pom.xml fe47ff755f0943a9408dbdb85a358880550fd7d8
>   test/src/main/java/org/apache/sqoop/test/db/DatabaseProvider.java 364ff61017d0d6a561cbb9d7adfb8c6a287fd03e
>   test/src/main/java/org/apache/sqoop/test/db/DatabaseProviderFactory.java PRE-CREATION
>   test/src/main/java/org/apache/sqoop/test/db/DerbyProvider.java 402fab977ce56ce2636c43dba00d81787fcc001a
>   test/src/main/java/org/apache/sqoop/test/db/MySQLProvider.java PRE-CREATION
>   test/src/main/java/org/apache/sqoop/test/db/PostgreSQLProvider.java PRE-CREATION
>   test/src/main/java/org/apache/sqoop/test/minicluster/TomcatSqoopMiniCluster.java ed6c59663d62603983e270feeb602e5a6128d610
>   test/src/test/java/org/apache/sqoop/integration/TomcatTestCase.java 7c8a9781097e73e34555f79428362fcc0cc529c1
>   test/src/test/java/org/apache/sqoop/integration/connector/ConnectorTestCase.java 595810fde5db50f45740080b9e4df244ec525e4f
>   test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/TableImportTest.java 3a8b1b5593b6a233cc2d04f3733385133b280768
>
> Diff: https://reviews.apache.org/r/9579/diff/
>
>
> Testing
> -------
>
> To use PostgreSQL provider run:
>
> mvn clean integration-test -Dsqoop.provider.postgresql.jdbc=jdbc:postgresql://postgresql/sqoop -Dsqoop.provider.class=org.apache.sqoop.test.db.PostgreSQLProvider -Dsqoop.provider.postgresql.username=sqoop -Dsqoop.provider.postgresql.password=sqoop
>
> To run MySQL provider run:
>
> mvn clean integration-test -Dsqoop.provider.mysql.jdbc=jdbc:mysql://mysql/sqoop -Dsqoop.provider.class=org.apache.sqoop.test.db.MySQLProvider -Dsqoop.provider.mysql.username=sqoop -Dsqoop.provider.mysql.password=sqoop
>
>
> Thanks,
>
> Jarek Cecho
>
>