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 2012/12/20 20:07:12 UTC

[jira] [Created] (CRUNCH-137) PTypes.thrift input mapfn shouldn't reference Configuration object

Josh Wills created CRUNCH-137:
---------------------------------

             Summary: PTypes.thrift input mapfn shouldn't reference Configuration object
                 Key: CRUNCH-137
                 URL: https://issues.apache.org/jira/browse/CRUNCH-137
             Project: Crunch
          Issue Type: Bug
    Affects Versions: 0.5.0
            Reporter: Josh Wills
             Fix For: 0.5.0


The input MapFn in PTypes.thrifts references a Configuration object that may be null, depending on the context the MapFn is called in. Since a thrift TBase impl does not implement the Configurable interface, the Configuration object is a no-op and should be excluded from the initialize() method of the input MapFn, which is the same thing we do for protocol buffers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira