sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cheolsoo Park (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-480) MS SQL server connector is incompatible with Sqoop-1.4
Date Sun, 27 May 2012 20:03:22 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284217#comment-13284217
] 

Cheolsoo Park commented on SQOOP-480:
-------------------------------------

To test the patch, please follow the following instructions:

1) Set up MS SQL server.
2) Download MS connector to sqoop.thirdparty.lib.dir: http://www.microsoft.com/en-us/download/details.aspx?id=27584
3) Add the following line to build.properties: sqoop.test.msserver.connector.factory=com.microsoft.sqoop.SqlServer.MSSQLServerManagerFactory
4) ant test -Dtestcase=SQLServerManagerImportManualTest

If the property in #3 is not set, the test uses the built-in SQL manager. 

                
> MS SQL server connector is incompatible with Sqoop-1.4
> ------------------------------------------------------
>
>                 Key: SQOOP-480
>                 URL: https://issues.apache.org/jira/browse/SQOOP-480
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Cheolsoo Park
>            Assignee: Cheolsoo Park
>         Attachments: SQOOP-480.patch
>
>
> Sqoop import fails with the following error message:
> 12/04/27 09:29:16 INFO orm.CompilationManager: Writing jar file: /tmp/sqoop-hadoop/compile/
> 45d0bca50cb78c50c20acf18fcd64f90/QualityMeasure.jar
> Exception in thread "main" java.lang.NoSuchMethodError: com.cloudera.sqoop.manager.ImportJobContext.setConnManager(Lcom/cloudera/sqoop/manager/ConnManager;)V
>     at com.microsoft.sqoop.SqlServer.MSSQLServerManager.importTable(MSSQLServerManager.java:142)
>     at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:380)
>     at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:453)
>     at org.apache.sqoop.Sqoop.run(Sqoop.java:145)
>     at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>     at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:181)
>     at org.apache.sqoop.Sqoop.runTool(Sqoop.java:220)
>     at org.apache.sqoop.Sqoop.runTool(Sqoop.java:229)
>     at org.apache.sqoop.Sqoop.main(Sqoop.java:238)
>     at com.cloudera.sqoop.Sqoop.main(Sqoop.java:57)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message