Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-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 2FF0819FC1 for ; Fri, 22 Apr 2016 03:00:17 +0000 (UTC) Received: (qmail 49338 invoked by uid 500); 22 Apr 2016 03:00:16 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 49229 invoked by uid 500); 22 Apr 2016 03:00:16 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 49173 invoked by uid 99); 22 Apr 2016 03:00:16 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Apr 2016 03:00:16 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8D1EC2C1F68 for ; Fri, 22 Apr 2016 03:00:16 +0000 (UTC) Date: Fri, 22 Apr 2016 03:00:16 +0000 (UTC) From: "Li Lu (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-4983) JVM and UGI metrics disappear after RM is once transitioned to standby mode 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/YARN-4983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated YARN-4983: ------------------------ Attachment: YARN-4983-trunk.001.patch The tons of UT failures are caused by a wrong jvm metrics API call. Calling initSingleton instead of create to avoid registering twice to the same metrics system. > JVM and UGI metrics disappear after RM is once transitioned to standby mode > --------------------------------------------------------------------------- > > Key: YARN-4983 > URL: https://issues.apache.org/jira/browse/YARN-4983 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Li Lu > Assignee: Li Lu > Attachments: YARN-4983-trunk.000.patch, YARN-4983-trunk.001.patch > > > When get transitioned to standby, the RM will shutdown the existing metric system and relaunch a new one. This will cause the jvm metrics and ugi metrics to miss in the new metric system. -- This message was sent by Atlassian JIRA (v6.3.4#6332)