I was looking at this page - http://hbase.apache.org/book/mapreduce.example.html. specifically, section 7.2.4. so if i understand you correctly, i can pass a list of puts to context.write()? I haven't tried though. But is that the way to go?
thanks On Tue, Feb 28, 2012 at 6:44 AM, Tim Robertson <[email protected]>wrote: > Hi, > > Assuming you use TableOutputFormat [1] you can emit as many PUTs as > you want from a reducer. You will need to handle the row key as you > create the PUT to emit. > > HTH, > Tim > > [1] > http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/mapreduce/TableOutputFormat.html > > On Tue, Feb 28, 2012 at 3:34 PM, T Vinod Gupta <[email protected]> > wrote: > > while doing map reduce on hbase tables, is it possible to do multiple > puts > > in the reducer? what i want is a way to be able to write multiple rows. > if > > its not possible, then what are the other alternatives? i mean like > > creating a wider table in that case. > > > > thanks >
