crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel Reid (JIRA)" <>
Subject [jira] [Closed] (CRUNCH-55) MemPipeline doesn't correctly initialize PTypes MapFns
Date Sat, 15 Sep 2012 07:47:07 GMT


Gabriel Reid closed CRUNCH-55.

    Resolution: Invalid
      Assignee: Gabriel Reid

Invalid issue, no need to initialize MapFns in PTypes unless they're being used for io
> MemPipeline doesn't correctly initialize PTypes MapFns
> ------------------------------------------------------
>                 Key: CRUNCH-55
>                 URL:
>             Project: Crunch
>          Issue Type: Bug
>    Affects Versions: 0.3.0, 0.4.0
>            Reporter: Gabriel Reid
>            Assignee: Gabriel Reid
>         Attachments:
> When a MemPipeline is run, the setContext method (and therefore also the initialize method)
is not called on the MapFns in PTypes. On PTypes MapFns 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 input or output MapFn 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:

View raw message