Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Sqoop >> mail # dev >> Need for Sqoop Java API document- Reg

Praveen Gr 2013-01-24, 05:03
Copy link to this message
RE: Need for Sqoop Java API document- Reg
Hi Praveen,

What are you trying to do exactly?

The simplest way to achieve what you are talking about is to call "org.apache.sqoop.Sqoop.runTool(String[] args)" which will take arguments just like the command line. So it's just like running it from the command line but you can do it from your Java program.

Or are you meaning you want to use some of the more internal methods for your own program?

David Robson
Software Developer
Dell | R&D, Quest Software
office +61 3 9811 8082

Quest Software is now part of Dell
-----Original Message-----
From: Praveen Gr [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 24 January 2013 4:04 PM
Subject: Need for Sqoop Java API document- Reg

  On Thu, Jan 24, 2013 at 12:56 AM, Arvind Prabhakar <[EMAIL PROTECTED]>wrote:

> Hi Praveen,
> At this time there is no programmatic API for Sqoop. I suggest you
> send this request to [EMAIL PROTECTED], to solicit responses from
> other contributors. If there is sufficient support, perhaps you or
> someone else in the community can provide that patch.
> Regards,
> Arvind Prabhakar
> On Thu, Jan 10, 2013 at 10:04 PM, Praveen Gr <[EMAIL PROTECTED]>wrote:
>> Hi Arvind
>> I am working on Sqoop (newbie). My aim is to import data from RDBMS
>> (MySQL) to HDFS using a Java program. I referred some forums where
>> they told there is no Sqoop Java API document available.
>> Can you please provide me Sqoop Java Api document link or any sample
>> sqoop java tutorial.
>> Please help me !!!
>> Happy Sqooping
>> Praveen
>> India
Thanks & Regards

Thanks & Regards