hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anil gupta <anilgupt...@gmail.com>
Subject Re: about rowkey prefix search
Date Fri, 16 Aug 2013 03:04:37 GMT
Hi Ch,

This has been discussed many times on mailing list. I would be good if you
can search the mailing archives before posting questions on mailing list.
Here is the thread from mailing list archive regarding prefix filter:
http://search-hadoop.com/m/kdTS41ctw751

Regards,
Anil


On Thu, Aug 15, 2013 at 7:59 PM, ch huang <justlooks@gmail.com> wrote:

> hi,all:
> i want to speed my timerange search ,so i set my rowkey with 'time + other
> things',
>
> rowkey =>  2013-05-01 13"635784ca56e74175b9adcb3a712368
>
> prefix filter is very slow
>
>  hbase(main):001:0> scan
>
> 'cookie_history',{FILTER=>org.apache.hadoop.hbase.filter.PrefixFilter.new(org.apache.hadoop.hbase.util.Bytes.toBytes('2013-05-15
> 14'))}
>
> any good method for prefix rowkey search?
>



-- 
Thanks & Regards,
Anil Gupta

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message