Review Board 1.7.22


SQOOP-1009 Sqoop2: Integration: Create Teradata provider

Review Request #10749 - Created April 24, 2013 and submitted

Jarek Cecho
SQOOP-1009
Reviewers
Sqoop
sqoop-sqoop2
I've added testing provider for Teradata database.
Integration tests seems to be passing:

mvn integration-test -Dhadoop.profile=200  -Djdbc.teradata -Dsqoop.provider.class=org.apache.sqoop.test.db.TeradataProvider -Dsqoop.provider.teradata.jdbc=jdbc:teradata://$HOST/DATABASE=sqoop -Dsqoop.provider.teradata.username=sqoop -Dsqoop.provider.teradata.password=sqoop
pom.xml
Revision 0abbb18442ce92a95168a8c4056fce910bdada19 New Change
[20] 108 lines
[+20]
109
    <tomcat.version>${tomcat.major.version}.${tomcat.minor.version}</tomcat.version>
109
    <tomcat.version>${tomcat.major.version}.${tomcat.minor.version}</tomcat.version>
110
    <jdbc.mysql.version>5.1.23</jdbc.mysql.version>
110
    <jdbc.mysql.version>5.1.23</jdbc.mysql.version>
111
    <jdbc.postgresql.version>9.1-901.jdbc4</jdbc.postgresql.version>
111
    <jdbc.postgresql.version>9.1-901.jdbc4</jdbc.postgresql.version>
112
    <jdbc.oracle.version>11.2.0.3</jdbc.oracle.version>
112
    <jdbc.oracle.version>11.2.0.3</jdbc.oracle.version>
113
    <jdbc.sqlserver.version>4.0</jdbc.sqlserver.version>
113
    <jdbc.sqlserver.version>4.0</jdbc.sqlserver.version>

    
   
114
    <jdbc.teradata.version>14.00.00.21</jdbc.teradata.version>
114
  </properties>
115
  </properties>
115

    
   
116

   
116
  <dependencies>
117
  <dependencies>
117
    <dependency>
118
    <dependency>
118
      <groupId>log4j</groupId>
119
      <groupId>log4j</groupId>
[+20] [20] 255 lines
[+20]
374
        <groupId>com.microsoft</groupId>
375
        <groupId>com.microsoft</groupId>
375
        <artifactId>sqljdbc4</artifactId>
376
        <artifactId>sqljdbc4</artifactId>
376
        <version>${jdbc.sqlserver.version}</version>
377
        <version>${jdbc.sqlserver.version}</version>
377
      </dependency>
378
      </dependency>
378
     <dependency>
379
      <dependency>

    
   
380
        <groupId>com.teradata</groupId>

    
   
381
        <artifactId>tdgssconfig</artifactId>

    
   
382
        <version>${jdbc.teradata.version}</version>

    
   
383
      </dependency>

    
   
384
      <dependency>

    
   
385
        <groupId>com.teradata</groupId>

    
   
386
        <artifactId>terajdbc4</artifactId>

    
   
387
        <version>${jdbc.teradata.version}</version>

    
   
388
      </dependency>

    
   
389
     <dependency>
379
      <groupId>org.mockito</groupId>
390
      <groupId>org.mockito</groupId>
380
      <artifactId>mockito-all</artifactId>
391
      <artifactId>mockito-all</artifactId>
381
      <version>${mockito.version}</version>
392
      <version>${mockito.version}</version>
382
      <scope>test</scope>
393
      <scope>test</scope>
383
    </dependency>
394
    </dependency>
[+20] [20] 255 lines
test/pom.xml
Revision 58f1c498199ac07db23867a0c95567d8dbb0d2ac New Change
 
test/src/main/java/org/apache/sqoop/test/db/TeradataProvider.java
New File
 
test/src/main/java/org/apache/sqoop/test/minicluster/TomcatSqoopMiniCluster.java
Revision c7998a17f6e092609270fec7d6dab5c886b76e87 New Change
 
test/src/test/java/org/apache/sqoop/integration/connector/ConnectorTestCase.java
Revision 837a1aae6e803a10e3fbb8e88d8e3cf36455479a New Change
 
  1. pom.xml: Loading...
  2. test/pom.xml: Loading...
  3. test/src/main/java/org/apache/sqoop/test/db/TeradataProvider.java: Loading...
  4. test/src/main/java/org/apache/sqoop/test/minicluster/TomcatSqoopMiniCluster.java: Loading...
  5. test/src/test/java/org/apache/sqoop/integration/connector/ConnectorTestCase.java: Loading...