SQOOP-909 Sqoop2 integration: Create Oracle and Microsoft SQL Server database providers
Review Request #9721 - Created March 3, 2013 and submitted
I've decided to use the standard way of dealing with dependencies in Maven. I've made both Oracle and Microsoft SQL Server JDBC drivers as dependencies in a special profiles that must be enabled on command line. This way the normal build will pass as they won't be included. If you user want to use them, he needs to install them into local maven cache first. I've provided instructions in pom file and I'll describe everything on Dev Guide once we will have it.
To use Oracle provider run: mvn clean integration-test -Dsqoop.provider.class=org.apache.sqoop.test.db.OracleProvider -Djdbc.oracle -Dhadoop.profile=200 -Dsqoop.provider.oracle.jdbc=jdbc:oracle:thin:@//oracle/xe To use Sql Server provider run: mvn clean integration-test -Dsqoop.provider.class=org.apache.sqoop.test.db.SqlServerProvider -Djdbc.sqlserver -Dhadoop.profile=200 -Dsqoop.provider.sqlserver.jdbc="jdbc:sqlserver://sqlserver"
Review request changed
Updated (July 22, 2013, 8:59 p.m.)
- changed from pending to submitted