Re: Hbase Mapreduce- Problem in using arrayList of pust in MapFunction

2013-01-21 Thread Farrokh Shahriari
Tnx,But I don't know why when the client.buffer.size is increased, I've got
bad result,does it related to other parameters ? and I give 8 gb heap to
each regionserver.

On Mon, Jan 21, 2013 at 12:34 PM, Harsh J ha...@cloudera.com wrote:

 Hi Farrokh,

 This isn't a HDFS question - please ask these questions only on their
 relevant lists for best results and to keep each list's discussion separate.


 On Mon, Jan 21, 2013 at 11:40 AM, Farrokh Shahriari 
 mohandes.zebeleh...@gmail.com wrote:

 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




 --
 Harsh J



Re: Hbase Mapreduce- Problem in using arrayList of pust in MapFunction

2013-01-20 Thread Mohammad Tariq
Give put(ListPut puts)  a shot and see if it works for you.

Warm Regards,
Tariq
https://mtariq.jux.com/
cloudfront.blogspot.com


On Mon, Jan 21, 2013 at 11:41 AM, Farrokh Shahriari 
mohandes.zebeleh...@gmail.com wrote:

 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



RE: Hbase Mapreduce- Problem in using arrayList of pust in MapFunction

2013-01-20 Thread Anoop Sam John
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...@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