Gabriel Reid created CRUNCH-55:
----------------------------------

             Summary: MemPipeline doesn't correctly initialize PTypes
                 Key: CRUNCH-55
                 URL: https://issues.apache.org/jira/browse/CRUNCH-55
             Project: Crunch
          Issue Type: Bug
    Affects Versions: 0.3.0, 0.4.0
            Reporter: Gabriel Reid


When a MemPipeline is run, the setContext method (and therefore also the 
initialize method) is not called on PCollections. On PTypes that rely on logic 
in the initialize method, this causes the pipeline to crash.

This can be shown by using PTable#join with Writable values -- a 
NullPointerException occurs due to the state of the PType not being fully set 
up.

--
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

Reply via email to