I've defined a custom key class that implements writable. I've noticed that for use between the mapper and reducer the write and readFields are actually used. However, when I use an identity reducer, toString is called when I do something like output.collect(myClass, null)
Is there a way to output the write() instead? Thank you.