You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Josh Wills (JIRA)" <ji...@apache.org> on 2014/08/30 03:23:52 UTC

[jira] [Created] (CRUNCH-467) Fix runtime initialization of Writables.registerComparable

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)