2010/6/17 Stack <[email protected]>

> On Thu, Jun 17, 2010 at 11:14 AM, Vaibhav Puranik <[email protected]>
> wrote:
> > Is there any way to get the columns in the sorted order of its values?
>
> Not by value.
>
> We
> > want to get the first few columns only evertime we scan the table.
>
> Sorted by value?
>
> HBase orders by row, family, qualifier.  Could you put the value into
> the qualifiier as a qualifier prefix and then hbase will take of the
> sort for you.
>

As i see in sources there no place, where kv sorted (except client
Result.sorted() method). So we can get keyvalues from store and from
memstore (and in this case we can get 1 3 5 from stores and 4 from memstore)
in incorrect order.

Or I miss something?


> > The rest of the data needs to be accessed occasionally. We want to avoid
> > getting it shipped to the client as it makes our map reduce job go out of
> > memory.
> >
>
> You are not using incremental get on a row?  You should be able to get
> your big rows piecemeal.
>
This scanner api changes was not included in 0.20.4 :( (infra row scanner).

Reply via email to