hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stan Rosenberg <srosenb...@proclivitysystems.com>
Subject Re: WritableComparable
Date Mon, 22 Aug 2011 15:53:31 GMT
Thanks for all the help on this issue.  It turned out to be a very simple
problem with my 'compareTo' implementation.
The ordering was symmetric but _not_ transitive.


On Tue, Aug 16, 2011 at 4:47 PM, Chris White <chriswhite199@gmail.com>wrote:

> Can you copy the contents of your parent Writable readField and write
> methods (not the ones youve already posted)
> Another thing you could try is if you know you have two identical keys, can
> you write a unit test to examine the result of compareTo for two instances
> to confirm the correct behavior (even going as far as serializing and
> deserializing before the comparison)
> Finally just to confirm, you dont have any group or order comparators
> registered?

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