Re: Custom partitioners

2009-10-10 Thread Jonathan Ellis
The core of the partitioner is the comparator you return. Everything will still work (for now) if midpoint just throws unsupportedoperation. It's going to be used by the anti-entropy code, though, so implementing a non-toy partitioner that can't be midpointed is a Bad Idea. -Jonathan On Sat, Oc

Re: Custom partitioners

2009-10-10 Thread Joe Stump
As I said in my email, it's a code test. Simply meant to test an applicant's skills during the hiring process. I'm aware of OPP and COPP and choosing partitioners. --Joe On Oct 10, 2009, at 7:02, Mark Robson wrote: 2009/10/10 Joe Stump I've got a guy doing a code test for us and he has s

Re: Custom partitioners

2009-10-10 Thread Mark Robson
2009/10/10 Joe Stump > I've got a guy doing a code test for us and he has some questions about > custom partitioners: > http://gist.github.com/205537 > > Wondering if anyone could chime in. > I'm curious as to why you don't just use the OrderPreservingPartitioner and apply the transformation to