hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Coe <david....@chalklabs.net>
Subject Output.collect uses toString for custom key class. Is it possible to change this?
Date Tue, 16 Dec 2008 16:28:31 GMT
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.

View raw message