crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Wills (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CRUNCH-467) Fix runtime initialization of Writables.registerComparable
Date Sat, 30 Aug 2014 01:23:52 GMT
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)

Mime
View raw message