Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-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 A63A087E8 for ; Wed, 7 Sep 2011 23:01:34 +0000 (UTC) Received: (qmail 76185 invoked by uid 500); 7 Sep 2011 23:01:34 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 75885 invoked by uid 500); 7 Sep 2011 23:01:33 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 75597 invoked by uid 99); 7 Sep 2011 23:01:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2011 23:01:33 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,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; Wed, 07 Sep 2011 23:01:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 04D30879B2 for ; Wed, 7 Sep 2011 23:01:10 +0000 (UTC) Date: Wed, 7 Sep 2011 23:01:10 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <2147384772.375.1315436470016.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1509542019.5137.1312391967098.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HADOOP-7507) jvm metrics all use the same namespace 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/HADOOP-7507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon updated HADOOP-7507: -------------------------------- Resolution: Fixed Hadoop Flags: [Incompatible change, Reviewed] (was: [Incompatible change]) Status: Resolved (was: Patch Available) Committed to trunk and 0.23. Should we include this in the 0.20 series as well? Since it's a slightly incompatible change, maybe we need to add a config flag to enable the fixed "jvm" metric in metrics1 in the 0.20 backport? > jvm metrics all use the same namespace > -------------------------------------- > > Key: HADOOP-7507 > URL: https://issues.apache.org/jira/browse/HADOOP-7507 > Project: Hadoop Common > Issue Type: Bug > Components: metrics > Affects Versions: 0.20.2 > Reporter: Jeff Bean > Assignee: Alejandro Abdelnur > Fix For: 0.23.0, 0.24.0 > > Attachments: HADOOP-7507-v2.patch, HADOOP-7507v1.patch, HADOOP-7507v3.patch, HADOOP-7507v4.patch, HADOOP-7507v5.patch, HADOOP-7507v6.patch, HADOOP-7507v7.patch, JvmMetrics.java, hadoop-metrics.properties, screenshot-1.jpg > > > Ganglia jvm metrics don't make sense because it's not clear which java process the metrics refer to. In fact, all hadoop java processes running on a node report their jvm metrics to the same namespace. > The metrics are exposed by the "jvm" context in JvmMetrics.java. This leads to confusing and nonsensical graphs in ganglia and maybe other monitoring tools. > One way to fix this is to make sure the process name is reported in the jvm context, making it clear which process is associated with the context, and separating out the jvm metrics per process. > This is marked as an "incompatible change" because the fix provided removes the JVM metrics and replaces it with process-specific metrics. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira