hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bhavesh Shah <bhavesh25s...@gmail.com>
Subject Re: Doubts related to Amazon EMR
Date Fri, 27 Apr 2012 09:46:08 GMT
Hello Kyle Mulka,
I just followed your link and installed the Sqoop successfully on Amazon
EMR. But when I start to import the table I got the error as:

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)

Please reply me urgent. I need this as soon as possible.

On Tue, Apr 24, 2012 at 12:22 AM, Kyle Mulka <mulka@umich.edu> wrote:

> Just wrote up an article on how to install Sqoop on Amazon EMR:
>
> http://blog.kylemulka.com/2012/04/how-to-install-sqoop-on-amazon-elastic-map-reduce-emr/
>
> --
> Kyle Mulka
> mulka@umich.edu
> 206 883 5352
> http://www.kylemulka.com
>
>
>
> On Mon, Apr 23, 2012 at 10:55 AM, Kyle Mulka <kyle.mulka@gmail.com> wrote:
>
>> It is possible to install Sqoop on AWS EMR. I've got some scripts I can
>> publish later. You are not required to use S3 to store files and can use
>> the local (temporary) HDFS instead. After you have Sqoop installed, you can
>> import your data with it into HDFS, run your calculations in HDFS, then
>> export your data back out using Sqoop again.
>>
>> --
>> Kyle Mulka
>> http://www.kylemulka.com
>>
>> On Apr 23, 2012, at 8:42 AM, Bhavesh Shah <bhavesh25shah@gmail.com>
>> wrote:
>>
>>
>> Hello all,
>> I want to deploy my task on Amazon EMR. But as I am new to Amazon Web
>> Services I am confused in understanding the concepts.
>>
>> My Use Case:
>>
>> I want to import the large data from EC2 through SQOOP into the Hive.
>> Imported data in Hive will get processed in Hive by applying some algorithm
>> and will generate some result (in table form, in Hive only). And generated
>> result will be exported back to Ec2 again through SQOOP only.
>>
>> I am new to Amazon Web Services and want to implement this use case with
>> the help of AWS EMR. I have implemented it on local machine.
>>
>> I have read some links related to AWS EMR for launching the instance and
>> about what is EMR, How it works and etc...
>> I have some doubts about EMR like:
>>
>> 1) EMR uses S3 Buckets, which holds Input and Output data Hadoop
>> Processing (in the form of Objects). ---> I didn't get How to store the
>> data in the form of Objects on S3 (My data will be files)
>>
>> 2) As already said I have implemented a task for my use case in Java. So
>> If I create the JAR of my program and create the Job Flow with Custom JAR.
>> Will it be possible to implement like this or do need to do some thing
>> extra for that?
>>
>> 3) As I said in my Use Case that I want to export my result back to Ec2
>> with the help of SQOOP. Does EMR have support of SQOOP?
>>
>>
>> If you have any kind of idea related to AWS, please reply me with your
>> answer as soon as possible. I want to do this as early as possible.
>>
>> many Thanks.
>>
>>
>>
>> --
>> Regards,
>> Bhavesh Shah
>>
>>
>


-- 
Regards,
Bhavesh Shah

Mime
View raw message