Review Board 1.7.22


SQOOP-1140 Enable overriding username, password and database in DB2 test

Review Request #12592 - Created July 16, 2013 and submitted

Jarek Cecho
SQOOP-1140
Reviewers
Sqoop
sqoop-trunk
I've added properties enabling the overrides of username, password and database from the command line.
Run the DB2 test.
build.xml
Revision e3683f8af841ce03f9a6bf9be220cf190a5bce80 New Change
[20] 277 lines
[+20]
278
            value="SQOOPUSER"/>
278
            value="SQOOPUSER"/>
279

    
   
279

   
280
  <property name="ms.sqlserver.password"
280
  <property name="ms.sqlserver.password"
281
            value="PASSWORD"/>
281
            value="PASSWORD"/>
282

    
   
282

   

    
   
283
  <property name="sqoop.test.db2.connectstring.host_url" value="jdbc:db2://db2host:50000" />

    
   
284
  <property name="sqoop.test.db2.connectstring.database" value="SQOOP" />

    
   
285
  <property name="sqoop.test.db2.connectstring.username" value="SQOOP" />

    
   
286
  <property name="sqoop.test.db2.connectstring.password" value="SQOOP" />

    
   
287

   
283

    
   
288

   
284
  <condition property="windows">
289
  <condition property="windows">
285
    <os family="windows" />
290
    <os family="windows" />
286
  </condition>
291
  </condition>
287

    
   
292

   
[+20] [20] 564 lines
[+20]
852
                   value="${java.security.krb5.realm}"/>
857
                   value="${java.security.krb5.realm}"/>
853

    
   
858

   
854
      <sysproperty key="java.security.krb5.kdc"
859
      <sysproperty key="java.security.krb5.kdc"
855
                   value="${java.security.krb5.kdc}"/>
860
                   value="${java.security.krb5.kdc}"/>
856

    
   
861

   

    
   
862
      <sysproperty key="sqoop.test.db2.connectstring.host_url" value="${sqoop.test.db2.connectstring.host_url}" />

    
   
863
      <sysproperty key="sqoop.test.db2.connectstring.database" value="${sqoop.test.db2.connectstring.database}" />

    
   
864
      <sysproperty key="sqoop.test.db2.connectstring.username" value="${sqoop.test.db2.connectstring.username}" />

    
   
865
      <sysproperty key="sqoop.test.db2.connectstring.password" value="${sqoop.test.db2.connectstring.password}" />

    
   
866

   
857
      <!-- Location of Hive logs -->
867
      <!-- Location of Hive logs -->
858
      <!--<sysproperty key="hive.log.dir"
868
      <!--<sysproperty key="hive.log.dir"
859
                   value="${test.build.data}/sqoop/logs"/> -->
869
                   value="${test.build.data}/sqoop/logs"/> -->
860

    
   
870

   
861
      <classpath>
871
      <classpath>
[+20] [20] 473 lines
src/test/com/cloudera/sqoop/ThirdPartyTests.java
Revision b2db1b45d4bc99b5bca01923c9cff4efa30efe1a New Change
 
src/test/com/cloudera/sqoop/manager/DB2ManagerImportManualTest.java
Revision f6e2e8df733dff74dc36c0552994c3436620de7f New Change
 
  1. build.xml: Loading...
  2. src/test/com/cloudera/sqoop/ThirdPartyTests.java: Loading...
  3. src/test/com/cloudera/sqoop/manager/DB2ManagerImportManualTest.java: Loading...