How do you generate hash based on pageurl ? The order between hash(a.com) and hash(b.com <http://a.com/>) may not be what you expected.
BTW See http://hbase.apache.org/book.html#row and http://hbase.apache.org/book.html#dm.sort Cheers On Sat, Aug 16, 2014 at 2:26 PM, Mingtao Zhang <mail2ming...@gmail.com> wrote: > Hi, > > My rowkey is > > sessionid|hash(pageurl)|timestamp > > When I scan using a prefix filter with a specific sessionid, will it give > me the result in sequence? For example, the expected sequence in my mind > is: > > session1|hash(a.com)|1 > session1|hash(a.com)|2 > session1|hash(a.com)|3 > session1|hash(b.com)|2.5 > session1|hash(b.com)|5 > session1|hash(b.com)|6 > session1|hash(c.com)|3.5 > session1|hash(c.com)|5.5 > session1|hash(c.com)|7 > > Thanks in advance! > > Best Regards, > Mingtao >