Return-Path: X-Original-To: apmail-crunch-dev-archive@www.apache.org Delivered-To: apmail-crunch-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A577510761 for ; Thu, 23 Jan 2014 18:56:55 +0000 (UTC) Received: (qmail 59304 invoked by uid 500); 23 Jan 2014 18:56:39 -0000 Delivered-To: apmail-crunch-dev-archive@crunch.apache.org Received: (qmail 59249 invoked by uid 500); 23 Jan 2014 18:56:38 -0000 Mailing-List: contact dev-help@crunch.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@crunch.apache.org Delivered-To: mailing list dev@crunch.apache.org Received: (qmail 59238 invoked by uid 500); 23 Jan 2014 18:56:38 -0000 Delivered-To: apmail-incubator-crunch-dev@incubator.apache.org Received: (qmail 59233 invoked by uid 99); 23 Jan 2014 18:56:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jan 2014 18:56:38 +0000 Date: Thu, 23 Jan 2014 18:56:37 +0000 (UTC) From: "Dominique Dierickx (JIRA)" To: crunch-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CRUNCH-330) Use of multiple output counters can be disabled in configuration. 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-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominique Dierickx updated CRUNCH-330: -------------------------------------- Attachment: 0001-working-version.patch I made a first attempt at implementing this feature. A user can disable counters by setting "crunch.disable.output.counters" to true. I chose to implement this with a null object to speed things up and avoid a conditional. I also added integration test for a run with and without counters as well. Let me know what you think, Dominique > Use of multiple output counters can be disabled in configuration. > ----------------------------------------------------------------- > > Key: CRUNCH-330 > URL: https://issues.apache.org/jira/browse/CRUNCH-330 > Project: Crunch > Issue Type: New Feature > Components: Core, IO > Reporter: Dominique Dierickx > Assignee: Josh Wills > Priority: Minor > Attachments: 0001-working-version.patch > > > We're having some trouble with the amount of counters that Crunch creates > when writing to a lot of different output files (slightly more than 120). > This wouldn't be an issue if we were able to configure the maximum number > of allowed counters but unfortunately, because we are running an older > version of Hadoop, doing this is not an option and we are required to patch > Crunch locally when using a new release to leave out the counters. > I'm not saying the counters should be removed but maybe it is an option to > make them configurable without paying too much of a performance penalty? > I will implement this functionality and submit a patch. -- This message was sent by Atlassian JIRA (v6.1.5#6160)