Use OPP and prefix keys with a randomizing element when range queries will not be required. For keys that will be queried in ranges, don't use such a prefix.
On Mon, Aug 23, 2010 at 8:36 PM, Hien. To Trong <hie...@vng.com.vn> wrote: > Hi, > OrderPreservingPartitioner is efficient range queries but can cause unevently > distributed data. > Does anyone has an idea of a HybridPartitioner which takes advantages of both > RandomPartitioner and OPP, > or at least a partitioner trade off between them.