Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3FC61989F for ; Fri, 17 May 2013 14:40:31 +0000 (UTC) Received: (qmail 76619 invoked by uid 500); 17 May 2013 14:40:26 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 76258 invoked by uid 500); 17 May 2013 14:40:25 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 76228 invoked by uid 99); 17 May 2013 14:40:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 May 2013 14:40:25 +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: local policy) Received: from [212.122.43.157] (HELO datameer.com) (212.122.43.157) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 May 2013 14:40:18 +0000 Received: from ssanyal.datameer.lan (unknown [192.168.178.58]) by datameer.com (Postfix) with ESMTPSA id 13FBA309F90A for ; Fri, 17 May 2013 16:39:56 +0200 (CEST) From: Subroto Content-Type: multipart/signed; boundary="Apple-Mail=_2E3DF0A1-F7AE-4A8B-B294-0C5C24A9B95E"; protocol="application/pgp-signature"; micalg=pgp-sha1 Subject: Memory Leak while using LocalJobRunner Date: Fri, 17 May 2013 16:39:56 +0200 Message-Id: <05219166-6C77-4830-8CF0-32F64CB83A00@datameer.com> To: user@hadoop.apache.org Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_2E3DF0A1-F7AE-4A8B-B294-0C5C24A9B95E Content-Type: multipart/alternative; boundary="Apple-Mail=_0080002E-7CEC-4DD1-84DE-B80856BAE345" --Apple-Mail=_0080002E-7CEC-4DD1-84DE-B80856BAE345 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, I have an application which uses LocalJobRunner to process MR Jobs. =46rom= the heap dump of my application I can see multiple object with Name = $Proxy90; happens to be created by = org.apache.hadoop.metrics2.impl.MetricsSystemImpl.register(Callback). Every-time a LocalJobRunner is launched it creates = JobTrackerInstrumentation and QueueMetrics. While creating this MetricsSystem ; it registers and adds a Callback to = ArrayList which keeps on growing as the DefaultMetricsSystem is = Singleton. Is it a known bug? Is there any workaround to empty this = list? Cheers, Subroto Sanyal= --Apple-Mail=_0080002E-7CEC-4DD1-84DE-B80856BAE345 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii JobTrackerInstrumentation and QueueMetrics.

While creating = this MetricsSystem ; it registers and adds a = Callback to ArrayList which keeps on growing as the DefaultMetricsSystem is Singleton. Is it a known = bug? Is there any workaround to empty this = list?

Cheers,
Subroto = Sanyal
= --Apple-Mail=_0080002E-7CEC-4DD1-84DE-B80856BAE345-- --Apple-Mail=_2E3DF0A1-F7AE-4A8B-B294-0C5C24A9B95E Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) iQIcBAEBAgAGBQJRlkE8AAoJEO3bGxhVjXkwGmcQAIVNFYxgwzlfzLQdH4jBHAER 7CFVohph5368l3r8jFEtI6CiUGwJx2lSCq1wS7F9u7FYFSqWF8YPntGdWa8tiutI ard/hd5UKIaPbNIkemQLux62H6pdEBOwMsV7BWkhMSJ9DYABQH5+4aR25S7pjkgt Y2Ughe/gu80PxZg8akymSq1lONzOTxdRBGR454yf7K4+0AnKrFDH1eRPN3Md80e/ U7Ju07rKnoaC/lkH5rhlNdNyFy58N5vZciabsnHkB9Hq1exPmtvQ4hRpvJUD809+ tjEJqlj/ZQurS8rBNLT9a0Zy9KSwwgE17un+nx6378IKtykd6s4eQBYU+pLPTFz1 plWrXcWDh1eWcXYfOsy2dp+5JF9yGK/DMT2fPPOrxki+V+slDJdNcbYyZg8iRYKy mnqds+w7Q+uRM95aClmKiR6mLSxz+lYGtxk5XeS+WBekzBF6sm+/CfultlDYSJZw mDMcABfCkYrP/N1m72xLGgPUuSQLzH9yl1cnEqXETT2c3tdbXvI1npxx8IaWOl+S CLDsxIiz1hwxjHvcI/ejO9izUmpBId8o8zFUA4tLakdK1LHBS/I9tpKlhyR5JnZi MhlCSqCng7y3aEDskcjPiFH4hbZ+/HEil0Dep3wPCr6izkNoaWfRhA4KYilKMS5+ IrU2X+Sf9GUgf5UIJ7O7 =v3Z/ -----END PGP SIGNATURE----- --Apple-Mail=_2E3DF0A1-F7AE-4A8B-B294-0C5C24A9B95E--