hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anoop Sam John <anoo...@huawei.com>
Subject RE: Hbase Mapreduce- Problem in using arrayList of pust in MapFunction
Date Mon, 21 Jan 2013 06:32:59 GMT
>And also how can I use autoflush & bufferclientside in Map function for
inserting data to Hbase Table ?

You are using TableOutputFormat right? Here autoFlush is turned OFF ... You can use config
param "hbase.client.write.buffer" to set the client side buffer size.

-Anoop-
________________________________________
From: Farrokh Shahriari [mohandes.zebeleh.67@gmail.com]
Sent: Monday, January 21, 2013 11:41 AM
To: user@hbase.apache.org
Subject: Hbase Mapreduce- Problem in using arrayList of pust in MapFunction

Hi there
Is there any way to use arrayList of Puts in map function to insert data to
hbase ? Because,the context.write method doesn't allow to use arraylist of
puts,so in every map function I can only put one row. What can I do for
inserting some rows in each map function ?
And also how can I use autoflush & bufferclientside in Map function for
inserting data to Hbase Table ?

Mohandes Zebeleh
Mime
View raw message