Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BE1609C1C for ; Tue, 6 Mar 2012 17:07:23 +0000 (UTC) Received: (qmail 23935 invoked by uid 500); 6 Mar 2012 17:07:23 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 23883 invoked by uid 500); 6 Mar 2012 17:07:23 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 23874 invoked by uid 99); 6 Mar 2012 17:07:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 17:07:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 17:07:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5D62DBCFF for ; Tue, 6 Mar 2012 17:07:00 +0000 (UTC) Date: Tue, 6 Mar 2012 17:07:00 +0000 (UTC) From: "Alejandro Abdelnur (Commented) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <335169464.28104.1331053620383.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <395403508.30234.1313094987497.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MAPREDUCE-2835) Make per-job counter limits configurable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-2835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13223426#comment-13223426 ] Alejandro Abdelnur commented on MAPREDUCE-2835: ----------------------------------------------- Initializing a static var with a 'loaded' configuration value at class loading time seems too wrong. If we need to do something like this I would add an 'static init()' method to do this initialization and call this method in the lifecycle of the corresponding services (JT/TT). If the code that checks those limits is invoked on the client side when a client is querying counters, this may break the client app if this limit is not set in the client mapred-site.xml. This seems wrong as this is a server config property. Also, would this check impact the job tasks? If so the counter initialization should be done in the task bootstrap code. +1 as this is enables custom limits but we should follow up with a proper fix (MAPREDUCE-3936) > Make per-job counter limits configurable > ---------------------------------------- > > Key: MAPREDUCE-2835 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2835 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Affects Versions: 0.20.204.0 > Reporter: Tom White > Assignee: Tom White > Attachments: MAPREDUCE-2835.patch, MAPREDUCE-2835.patch > > > The per-job counter limits introduced in MAPREDUCE-1943 are fixed, except for the total number allowed per job (mapreduce.job.counters.limit). It would be useful to make them all configurable. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira