Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> about rowkey prefix search


Copy link to this message
-
Re: about rowkey prefix search
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 <[EMAIL PROTECTED]> 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