Return-Path: X-Original-To: apmail-incubator-crunch-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-crunch-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 77DC2E1FE for ; Thu, 31 Jan 2013 14:11:18 +0000 (UTC) Received: (qmail 22260 invoked by uid 500); 31 Jan 2013 14:11:18 -0000 Delivered-To: apmail-incubator-crunch-dev-archive@incubator.apache.org Received: (qmail 21881 invoked by uid 500); 31 Jan 2013 14:11:14 -0000 Mailing-List: contact crunch-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: crunch-dev@incubator.apache.org Delivered-To: mailing list crunch-dev@incubator.apache.org Received: (qmail 20708 invoked by uid 99); 31 Jan 2013 14:11:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jan 2013 14:11:12 +0000 Date: Thu, 31 Jan 2013 14:11:12 +0000 (UTC) From: "Josh Wills (JIRA)" To: crunch-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CRUNCH-158) Make the initialization of DoFns in the in-memory impl consistent and have it support Counters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CRUNCH-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13567655#comment-13567655 ] Josh Wills commented on CRUNCH-158: ----------------------------------- It is-- CRUNCH-157. > 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