Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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
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
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB