Josh Wills created CRUNCH-467:
---------------------------------
Summary: Fix runtime initialization of Writables.registerComparable
Key: CRUNCH-467
URL: https://issues.apache.org/jira/browse/CRUNCH-467
Project: Crunch
Issue Type: Bug
Reporter: Josh Wills
Ran into this one today: Writables.registerComparable won't actually change the
sorting strategy for custom writables inside of tuples b/c we don't necessarily
initialize the WRITABLE_CODES with the serialized contents of the Configuration
instance in the map/reduce phases of the job, where the codes are actually
written out.
Adding the initialization to the TupleTWMapFn and TWTupleMapFn inside of
Writables.java fixes the problem.
--
This message was sent by Atlassian JIRA
(v6.2#6252)