IntPairWritable might be helpful in this vein as well, it implements
BinaryComparable which means it doesn't have to be transformed from a
byte[] back to a int,int to be sorted which ends up saving a
significant amount of time in the shuffle.

On Mon, Jul 26, 2010 at 9:44 AM, Ted Dunning <[email protected]> wrote:
> That can be tricky.  Look for GenericWritable.
>
> On Mon, Jul 26, 2010 at 6:25 AM, Shannon Quinn <[email protected]> wrote:
>
>> 'm unsure how to make a generic class implement Writable.
>

Reply via email to