Return-Path: X-Original-To: apmail-hadoop-mapreduce-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 5C4E29852 for ; Sat, 24 Dec 2011 04:11:58 +0000 (UTC) Received: (qmail 69925 invoked by uid 500); 24 Dec 2011 04:11:57 -0000 Delivered-To: apmail-hadoop-mapreduce-dev-archive@hadoop.apache.org Received: (qmail 69701 invoked by uid 500); 24 Dec 2011 04:11:56 -0000 Mailing-List: contact mapreduce-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-dev@hadoop.apache.org Delivered-To: mailing list mapreduce-dev@hadoop.apache.org Received: (qmail 69693 invoked by uid 99); 24 Dec 2011 04:11:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Dec 2011 04:11:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of praveensripati@gmail.com designates 209.85.215.176 as permitted sender) Received: from [209.85.215.176] (HELO mail-ey0-f176.google.com) (209.85.215.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Dec 2011 04:11:47 +0000 Received: by eaac13 with SMTP id c13so12780677eaa.35 for ; Fri, 23 Dec 2011 20:11:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=lC5BgNF3dPRK9K45JGcCZgzQu4Rkb5ZfYBI3KgVJb9s=; b=kolyDTb5TIJT6ApMYQTrO374hGDsdrGsN7+hakIXwJZpySzs2KduVCcg2PRtJWjE8Y tpyLktdb+hdWf9J/CBNnmAuQZAwL0zSJiGTkfd0V5EX2+C5KhAnMWMnH+XNJu1tnbeGK xyXhOGSbo8Yf+fBJcfk4BpDFYh4g3kkx0W12g= MIME-Version: 1.0 Received: by 10.204.152.136 with SMTP id g8mr4643766bkw.127.1324699887261; Fri, 23 Dec 2011 20:11:27 -0800 (PST) Received: by 10.205.124.18 with HTTP; Fri, 23 Dec 2011 20:11:27 -0800 (PST) Date: Sat, 24 Dec 2011 09:41:27 +0530 Message-ID: Subject: Limiting the usage of counters From: Praveen Sripati To: mapreduce-dev@hadoop.apache.org Content-Type: multipart/alternative; boundary=0015175d099836d9c904b4ceba28 X-Virus-Checked: Checked by ClamAV on apache.org --0015175d099836d9c904b4ceba28 Content-Type: text/plain; charset=ISO-8859-1 Hi, I find the below code in 203, 205 and 1.0 and not in trunk and other releases. Is it not in trunk or done some other way? Also, noticed that some of the parameters are not configurable and hard-coded. /** limit on the size of the name of the group ** private static final int GROUP_NAME_LIMIT = 128; /** limit on the size of the counter name **/ private static final int COUNTER_NAME_LIMIT = 64; private static final JobConf conf = new JobConf(); /** limit on counters **/ public static int MAX_COUNTER_LIMIT = conf.getInt("mapreduce.job.counters.limit", 120); /** the max groups allowed **/ static final int MAX_GROUP_LIMIT = 50; Regards, Praveen --0015175d099836d9c904b4ceba28--