This may help you http://stackoverflow.com/questions/9229611/how-to-use-sqoop-in-java-program http://devslogics.blogspot.com/2013/09/sqoop-java-client.html
~Pratik On Thu, Sep 11, 2014 at 7:47 PM, Radhe Radhe <[email protected]> wrote: > Hello everyone, > > As per my experience till now I have used the direct *sqoop commands* to > import Tables from RDBMs to Hive > The commands itself has a lot more switches and options. > > Is there an easy way to use JAVA APIs for importing Tables using Sqoop. > > Need suggestions if it's possible and viable to use a JAVA Program to > import tables from RDBMs (*dynamically based on the source Tables > Metadata*) to Hive using Sqoop . > > Thanks, > -RR >
