hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clint Morgan" <clint....@gmail.com>
Subject Re: Problem with scanner again
Date Wed, 18 Jun 2008 16:13:02 GMT
Why the aversion to filters? Thats how we solve this problem, I have a
simple SkipRowFilter that I wrote that does exactly this...
-clint

2008/6/18 Krzysztof Gałęcki <krzysztof.galecki@wizyta.pl>:
> I can't cache items on List because of two main reasons:
>
> 1. I have to many items to cache them in memory
> 2. I would also like to use non GUID-based rowIds. In that situation we are
> talking about inserting items, not just adding them to the end of table
> (list).
>
> I think there should be some method which allows to skip n rows (of course
> only in case with no filters)
>
> k.
>
>
> -----Original Message-----
> From: Jean-Daniel Cryans [mailto:jdcryans@gmail.com]
> Sent: Wednesday, June 18, 2008 5:27 PM
> To: hbase-user@hadoop.apache.org
> Subject: Re: Problem with scanner again
>
> Hi krzych,
>
> If you really need help fast, come see us on IRC. Details are on the
> website.
>
> My solution for your problem would be to cache the results in a List instead
> of always scanning the table.
>
> jdcryans
>
> On Wed, Jun 18, 2008 at 11:20 AM, Krzysztof Gałęcki
> <krzysztof.galecki@wizyta.pl> wrote:
>
>> Sorry for spam, but looks like I send this message as a replay to some
>> other
>> post, so one more time:
>>
>>
>>
>>
>>
>> Hi
>>
>>
>>
>> I have a problem with scanner on HTable object: I have a table with
>> GUID-based rowId. I would like to display items from this table on pages
>> (for example 10 items on each page). I'm creating scanner on this table
>> (without any filters!!), skipping for example 40 items (for 5th page) and
>> then take next 10 rows and returning them as result. The problem is I have
>> to manually skip that 40 items. Is there any possibility to skip more than
>> 1
>> row in some other way?
>>
>>
>>
>> Regards
>>
>>
>>
>> krzych
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>
Mime
View raw message