Re: Need Working example for DBOutputFormat

2010-05-22 Thread Aaron Kimball
Nishant, What exact IOException are you getting? I think the issue is that you're creating two different JobConf objects there. They should be merged into one. Just use "jobConf" all the way through; don't create that second "conf" object. Good luck, - Aaron PS - I'd be remiss if I didn't urge

Re: Need Working example for DBOutputFormat

2010-05-19 Thread Sonal Goyal
Hi Nishant, If MySQL is your target database, you can check open source http://code.google.com/p/hiho/ which uses load data infile for a faster upload to the db. Let me know if you need any help. Thanks and Regards, Sonal www.meghsoft.com On Wed, May 19, 2010 at 1:06 PM, Nishant Sonar wrote:

Need Working example for DBOutputFormat

2010-05-19 Thread Nishant Sonar
Hello, Does any body has a working example of DBOutputformat. That connects to the DB Server (MYSQL) and then writes a record to the table. I tried by following the instruction on "http://www.cloudera.com/blog/2009/03/database-access-with-hadoop/"; as below but was getting an IOException.