Maybe the OrderPreservingPartitioner should let user define the customized
comparator.
In fact, user can implement his/her own XXXOrderPreservingPartitioner.
On Tue, Jun 22, 2010 at 8:34 PM, Sylvain Lebresne wrote:
> 2010/6/22 Maxim Kramarenko :
> > Hello!
> >
> > I use OrderPreservingPartitione
2010/6/22 Maxim Kramarenko :
> Hello!
>
> I use OrderPreservingPartitioner and assign tokens manually.
>
> Questions are:
>
> 1) Why range sorted in alphabetical order, not numeric order ?
> It was ok with RandomPartitioner
With RandomPartitioner, tokens are md5 hashes, thus number and the
compari
Hello!
I use OrderPreservingPartitioner and assign tokens manually.
Questions are:
1) Why range sorted in alphabetical order, not numeric order ?
It was ok with RandomPartitioner
Address Status Load Range
Ring
84
172.19.0.35