hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ch huang <justlo...@gmail.com>
Subject about rowkey prefix search
Date Fri, 16 Aug 2013 02:59:25 GMT
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?

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