See http://hbase.apache.org/book.html#mapreduce.example.readwrite
On Thu, Aug 29, 2013 at 7:26 AM, praveenesh kumar <[email protected]>wrote: > Hi, > > What is the easiest and efficient way to write a sequence file into HBase. > I want to parse the sequence file. My sequence file has records in the form > of <null,bytes> . > > I want to parse each value, generate keys and values in map() function and > write the output into HBase. > > I am trying to use HBaseTableUtil class. But I am seeing > TableMapReduceUtil.initTableReducerJob() method that is doing something > that I need. But I guess, it requires some reducer to exist. Am I right > here ? > > Other way is to create HBase Configuration object in mapper.setup () > method, do insertions in map () function and close the connections in > mapper.close () method. > > I was wondering what is the industry standard or most efficient way to do > map-side insertion on Hbase. > > Any suggestions would be really helpful. > > Thanks > Praveenesh >
