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 2013/01/30 16:15:13 UTC
[jira] [Updated] (CRUNCH-158) Make the initialization of DoFns in
the in-memory impl consistent and have it support Counters
[ https://issues.apache.org/jira/browse/CRUNCH-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Wills updated CRUNCH-158:
------------------------------
Attachment: CRUNCH-158.patch
First crack at this-- [~stim] what do you think?
> Make the initialization of DoFns in the in-memory impl consistent and have it support Counters
> ----------------------------------------------------------------------------------------------
>
> Key: CRUNCH-158
> URL: https://issues.apache.org/jira/browse/CRUNCH-158
> Project: Crunch
> Issue Type: Improvement
> Components: Core
> Affects Versions: 0.4.0
> Reporter: Josh Wills
> Assignee: Josh Wills
> Attachments: CRUNCH-158.patch
>
>
> There is a discrepancy between how parallelDo initializes a DoFn for creating PCollections vs. PTables in the MemCollection implementation: we should be sure that we should initialize the methods consistently via calling setContext once and-only-once in each method.
> Fixing this also requires adding support for counters in the in-memory impl so that some tests in crunch-contrib don't fail.
--
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