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: [email protected]
skype: deepyoudeep
skype:: gaetano.fab
msn: [email protected]
twitter: @gaetanofabiano
gtalk/hangoout/Google+ [email protected]