Rita 2012-08-04, 02:43
Bijeet Singh 2012-08-04, 04:54
HBase Bulk Loader is a viable solution for loading such huge data set. Even
if your import file has a separator other than tab you can use ImportTsv as
long as the separator is single character. If in case you want to put in
your business logic while writing the data to HBase then you can write your
own mapper class and use it with bulk loader. Hence, you can heavily
customize the bulk loader as per your needs.
These links might be helpful for you:
On Fri, Aug 3, 2012 at 9:54 PM, Bijeet Singh <[EMAIL PROTECTED]> wrote:
> Well, if the file that you have contains TSV, you can directly use the
> ImportTSV utility of HBase to do a bulk load.
> More details about that can be found here :
> The other option for you is to run a MR job on the file that you have, to
> generate the HFiles, which you can later import
> to HBase using completebulkload. HFiles are created using the
> HFileOutputFormat class.The output of Map should
> be Put or KeyValue. For Reduce you need to use configureIncrementalLoad
> which sets up reduce tasks.
> On Sat, Aug 4, 2012 at 8:13 AM, Rita <[EMAIL PROTECTED]> wrote:
> > I have a file which has 13 billion rows of key an value which I would
> > to place in Hbase. I was wondering if anyone has a good example to
> > with mapreduce for some sort of work like this.
> > tia
> > --
> > --- Get your facts first, then you can distort them as you please.--
Thanks & Regards,
Hamed Ghavamnia 2012-08-04, 07:44
Michel Segel 2012-08-04, 12:40
Hamed Ghavamnia 2012-08-05, 05:31