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 C587B9142 for ; Mon, 7 May 2012 16:37:17 +0000 (UTC) Received: (qmail 67402 invoked by uid 500); 7 May 2012 16:37:17 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 67366 invoked by uid 500); 7 May 2012 16:37:17 -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 67358 invoked by uid 99); 7 May 2012 16:37:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 16:37:17 +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; Mon, 07 May 2012 16:37:15 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6D021437C73 for ; Mon, 7 May 2012 16:36:54 +0000 (UTC) Date: Mon, 7 May 2012 16:36:54 +0000 (UTC) From: "Steve Loughran (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1182872350.35043.1336408614448.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1074249202.29578.1336175268387.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MAPREDUCE-4229) Intern counter names in the JT 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/MAPREDUCE-4229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269754#comment-13269754 ] Steve Loughran commented on MAPREDUCE-4229: ------------------------------------------- If it doesn't go near PermGen then it would be useful & not another source of pain, which makes it more appealing to me > Intern counter names in the JT > ------------------------------ > > Key: MAPREDUCE-4229 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4229 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: jobtracker > Affects Versions: 1.0.2 > Reporter: Todd Lipcon > > In our experience, most of the memory in production JTs goes to storing counter names (String objects and character arrays). Since most counter names are reused again and again, it would be a big memory savings to keep a hash set of already-used counter names within a job, and refer to the same object from all tasks. -- 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