Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E8764200B38 for ; Fri, 8 Jul 2016 22:52:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E6F8D160A81; Fri, 8 Jul 2016 20:52:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 60963160A5A for ; Fri, 8 Jul 2016 22:52:06 +0200 (CEST) Received: (qmail 16018 invoked by uid 500); 8 Jul 2016 20:49:18 -0000 Mailing-List: contact yarn-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-dev@hadoop.apache.org Received: (qmail 15995 invoked by uid 99); 8 Jul 2016 20:49:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2016 20:49:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 066092C02A7 for ; Fri, 8 Jul 2016 20:49:11 +0000 (UTC) Date: Fri, 8 Jul 2016 20:49:11 +0000 (UTC) From: "Jason Lowe (JIRA)" To: yarn-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (YARN-5341) Nodemanager leaks ContainerResource names in UniqueNames for each container MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 08 Jul 2016 20:52:07 -0000 Jason Lowe created YARN-5341: -------------------------------- Summary: Nodemanager leaks ContainerResource names in UniqueNames for each container Key: YARN-5341 URL: https://issues.apache.org/jira/browse/YARN-5341 Project: Hadoop YARN Issue Type: Bug Components: nodemanager Affects Versions: 2.7.2 Reporter: Jason Lowe Priority: Critical Ran across a nodemanager that was spending most of its time in GC. Upon examination of the heap most of the memory was going to the map of names in org.apache.hadoop.metrics2.lib.UniqueNames. In this case the map had almost 2 million entries. Looking at a few of the map showed entries like "ContainerResource_container_e01_1459548490386_8560138_01_002020", "ContainerResource_container_e01_1459548490386_2378745_01_000410", etc. Looks like the ContainerMetrics for each container will cause a unique name to be registered with UniqueNames and the name will never be unregistered. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-dev-help@hadoop.apache.org