hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Giridhar Addepalli" <giridhar.addepa...@komli.com>
Subject RE: Problem with DBOutputFormat
Date Tue, 08 Jun 2010 12:21:22 GMT
Hi Sonal,

I am using Hadoop 0.20.2. Is this okay ?
Thanks for the suggestion , will look at the hiho framework.

Thanks,
Giridhar.


-----Original Message-----
From: Sonal Goyal [mailto:sonalgoyal4@gmail.com] 
Sent: Tuesday, June 08, 2010 5:48 PM
To: mapreduce-user@hadoop.apache.org
Subject: Re: Problem with DBOutputFormat

Hi Giridhar,

Which version of Hadoop are you using?

If you want, you can also load data to MySQL using the hiho framework at
http://code.google.com/p/hiho/

Thanks and Regards,
Sonal
www.meghsoft.com
http://in.linkedin.com/in/sonalgoyal



On Tue, Jun 8, 2010 at 3:02 PM, Giridhar Addepalli
<giridhar.addepalli@komli.com> wrote:
> Hi,
>
>
>
> I am trying to write output to MYSQL DB,
>
> I am getting following error
>
>
>
> java.io.IOException
>
>                 at
> org.apache.hadoop.mapreduce.lib.db.DBOutputFormat.getRecordWriter(DBOutputFormat.java:180)
>
>                 at
> org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:553)
>
>                 at
> org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:408)
>
>                 at org.apache.hadoop.mapred.Child.main(Child.java:170)
>
>
>
> I have mysql-connector-java-5.0.8-bin.jar  in lib/ directory inside hadoop
> home directory
>
>
>
> Please help,
>
> Giridhar.

Mime
View raw message