sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cheolsoo Park <cheol...@cloudera.com>
Subject Re: Error while sqoop-import in Amazon EMR
Date Mon, 30 Apr 2012 20:36:45 GMT
Hi Bhavesh,

I also opened a file to fix the problem in Sqoop-1.4:
https://issues.apache.org/jira/browse/SQOOP-480

I will try to get it fixed soon.

Thanks,
Cheolsoo

On Mon, Apr 30, 2012 at 1:19 PM, Cheolsoo Park <cheolsoo@cloudera.com>wrote:

> Hi Bhavesh,
>
> 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)
>
>
> It should be because the MS SQL server connector is not compatible with
> Sqoop-1.4.1. There was a name space change from Sqoop 1.3.* to Sqoop 1.4.*
> (com.cloudera.* => org.apache.*), and unfortunately, not all 3rd-party
> connectors are compatible with Sqoop-1.4.* at the moment.
>
> I suggest that you use Sqoop-1.3.* instead.
>
> You can download Sqoop-1.3.* from here:
> https://ccp.cloudera.com/display/SUPPORT/CDH3+Downloadable+Tarballs
>
> Also, you can find the installation guide from here:
> https://ccp.cloudera.com/display/CDHDOC/Sqoop+Installation
>
> Hope this is helpful.
>
> Thanks,
> Cheolsoo
>
>
> On Mon, Apr 30, 2012 at 4:00 AM, Bhavesh Shah <bhavesh25shah@gmail.com>wrote:
>
>>
>> Hello all,
>>
>> I just followed the link and installed the Sqoop successfully on Amazon
>> Elastic Mapreduce. But when I start to import the table I got the error as:
>>
>> http://blog.kylemulka.com/2012/04/how-to-install-sqoop-on-amazon-elastic-map-reduce-emr/comment-page-1/#comment-93058
>>
>>
>> 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)
>>
>> Have installed same version which is mention in above link.
>> Pls suggest me some solution for this.
>>
>>
>>
>>
>>
>> --
>> Regards,
>> Bhavesh Shah
>>
>>
>

Mime
View raw message