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 Plain View
HBase >> mail # user >> Hbase Mapreduce- Problem in using arrayList of pust in MapFunction


+
Farrokh Shahriari 2013-01-21, 06:11
Copy link to this message
-
RE: Hbase Mapreduce- Problem in using arrayList of pust in MapFunction
>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 [[EMAIL PROTECTED]]
Sent: Monday, January 21, 2013 11:41 AM
To: [EMAIL PROTECTED]
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
+
Mohammad Tariq 2013-01-21, 06:17
+
Farrokh Shahriari 2013-01-21, 11:52
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