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

Switch to Threaded View
HBase, mail # user - How to convert a text or csv file into HFile format and load into HBASE


Copy link to this message
-
Re: How to convert a text or csv file into HFile format and load into HBASE
Jean-Marc Spaggiari 2013-09-10, 11:29
Hi Rams,

Just to make sure, have you looked at importtsv?
http://hbase.apache.org/book/ops_mgt.html#importtsv

It's tabs, but you can easily update that to take comas or anything else.

Also, any specific reason you want to go from csv to HFiles to HBase? Or
you can go from csv to HBase?

JM
2013/9/10 Ramasubramanian Narayanan <[EMAIL PROTECTED]>

> Dear All,
>
> Can you please share a sample code (Java) to convert a text/csv file into
> HFILE and load it using HBASE API into HBASE.
>
> regards,
> Rams
>