[ https://issues.apache.org/jira/browse/CRUNCH-467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Wills updated CRUNCH-467: ------------------------------ Attachment: CRUNCH-467.patch Patch for this. > 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 > Attachments: CRUNCH-467.patch > > > 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)