I think you need to make a custom splitter for your mapreduce job, one that makes splits that align with the ranges you'd have your job run over. A permutation on HBASE-2302 might work for you.
St.Ack On Wed, Mar 17, 2010 at 1:32 PM, Andrey Kolyadenko <[email protected]> wrote: > Hi all, > > maybe somebody could give me advice in the following situation: > > Currently HBase Scan interface provides ability to set up only first and > last rows for MR scanning. Is it any way to get multiple ranges into the map > input? > > For example let's assume I have following table: > key value > 1 v1 > 2 v2 > 3 v3 > 4 v4 > 5 v5 > > What I need is to get for example [1,2) and [4,5) ranges as input for my Map > task. Actually I need this for the performance optimization. > > Any advice? > > Thanks. > > --- > Миллионы анкет ждут Вас на на http://mylove.in.ua > Немедленная регистрация здесь http://mylove.in.ua/my/reg.phtml > > Биржа ссылок, тысячи отзывов о нас в Рунете > http://www.sape.ru/r.7fddbf83ee.php > >
