hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajgopalv <raja.f...@gmail.com>
Subject Maps sharing a common table.
Date Mon, 06 Dec 2010 17:58:07 GMT

I'm writing a MR job to read values from a CSV file and insert it into hbase
using Htable.put()
So each map function will insert one row. 
There is no reduce function.

But now, i open a htable instance inside  every map function. This is bad..
i know... 
but how can I share a common htable instance between multiple map jobs. ? 
View this message in context: http://old.nabble.com/Maps-sharing-a-common-table.-tp30366727p30366727.html
Sent from the HBase User mailing list archive at Nabble.com.

View raw message