See this thread that seems similar to your use case http://apache-hbase.679495.n3.nabble.com/Hbase-sequential-row-merging-in-MapReduce-job-td4033194.html
--Suraj On Wed, Jun 25, 2014 at 2:58 AM, Kuldeep Bora <kuldeep.b...@gmail.com> wrote: > Hello, > > I have keys in hbase of form `abc:xyz` and i would like to write/extend > custom InputFormat/TableInputFormat class with a custom RecordReader which > would be able to merge all rows with similar prefixed rowkeys e.g. `abc:*` > into one single record. I have no clue how to write getSplits for such > case. Any similar existing implementations and ideas would be of great > help. > > Thanks >