Hi Gaetano,
we have currently two major versions of Sqoop at the moment. Original Sqoop 1 
that exposes command line interface that you seem to be familiar with. As the 
original Sqoop do have architectural limitations we’re intensively working on 
Sqoop 2 that offers  the Java API that you are looking at. Sqoop 2 is currently 
on version 1.99.3 and as the version number suggest it’s not “2.0” yet. For 
example Sqoop 2 currently do not offers HBase integration and hence you don’t 
see that option in the API. If you need HBase, then you will have to use Sqoop 
1 (1.4.5) for the moment.

Jarcec

On Aug 7, 2014, at 8:30 AM, Gaetano Fabiano <fabiano.gaet...@gmail.com> wrote:

> Hi All,
> this is my first post on this mailing list I hope to stay here for long
> time. I saw the project and I love it.
> But recently I'm going crazy about issues.
> I'm writing a java client to use Apache Sqoop, I'm following this guide :
> http://sqoop.apache.org/docs/1.99.3/ClientAPI.html
> 
> But in my code i need some quite different, I need to write on HBASE not on
> HDFS
> 
> here there are the following properties
> frameworkForm.getEnumInput("output.storageType").setValue("HDFS");
> frameworkForm.getEnumInput("output.outputFormat").setValue("TEXT_FILE");//Other
> option: SEQUENCE_FILE
> frameworkForm.getStringInput("output.outputDirectory").setValue("/output");
> 
> I need to use some properties to write on HBASE like possible using the
> sqoop shell command.
> 
> like
> sqoop import \
> --connect jdbc:mysql://mysql.example.com/sqoop \
> --username sqoop \
> --password sqoop \
> --table cities \
> --hbase-table cities \
> --column-family world
> 
> 
> where I can find information or some docs about the sqoop java client for
> setting these following properties
> 
> frameworkForm.getEnumInput(.................).setValue(........);
> where i can find the properties name?
> 
> 
> I hope that there is someone that can help us.
> In the while I'm decompiling the SqoopShell but I'm going crazy about and I
> suppose that this road take me no where.
> 
> Regards
> Gaetano
> 
> 
> via Timpone n° 79
> 87055 San  Giovanni in Fiore (Cs) ITALY
> mobile: +39 328 9469919
> phone: +39 0984 991980
> email: fabiano.gaet...@gmail.com
> skype: deepyoudeep
> skype:: gaetano.fab
> msn: deep...@hotmail.it
> twitter: @gaetanofabiano
> gtalk/hangoout/Google+ fg.pa...@gmail.com

Reply via email to