Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Hbase sequential row merging in MapReduce job

Copy link to this message
Re: Hbase sequential row merging in MapReduce job

As long as you know your keyspace, you should be able to create your own
splits.  See TableInputFormatBase for the default implementation (which is
1 input split per region)

On 10/19/12 9:32 AM, "Eric Czech" <[EMAIL PROTECTED]> wrote:

>Hi everyone,
>Is there any way to create an InputSplit for a MapReduce job (reading from
>an HBase table) that guarantees sequential rows with some shared key
>will end up in the same mapper?
>For example, if I have sequential keys like this:
>I want a mapper that will definitely see all the rows with keys that start
>with "metric1".
>Is there a way to do this?
>Thank you!