@all.. Thanks. I created instance variable in the setup() function asd suggested.
rajgopalv wrote: > > Hi, > 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.-tp30366727p30396247.html Sent from the HBase User mailing list archive at Nabble.com.