[ 
https://issues.apache.org/jira/browse/HBASE-1829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12756599#action_12756599
 ] 

Jonathan Gray commented on HBASE-1829:
--------------------------------------

There is some interesting stuff in TestTableMapReduce which extends 
MultiRegionTable.

Rather simply you can just insert a bunch of sequential rows and run manual 
splits to create multiple regions.  There's a unit test out there that does 
that nicely I forget which one.  But by knowing what the split points will be, 
will be pretty easy to at least test the algorithm.

> Make use of start/stop row in TableInputFormat
> ----------------------------------------------
>
>                 Key: HBASE-1829
>                 URL: https://issues.apache.org/jira/browse/HBASE-1829
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: mapred
>    Affects Versions: 0.20.0
>            Reporter: Lars George
>            Assignee: Lars George
>            Priority: Minor
>             Fix For: 0.20.1
>
>         Attachments: HBASE-1829.patch
>
>
> Since we can now specify a start and stop row with the Scan that is handed to 
> the TIF we can reduce the splits to the regions that contain these rows. That 
> allows to test large MR jobs on a single region for example.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to