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 A0E21104F3 for ; Thu, 12 Sep 2013 23:14:03 +0000 (UTC) Received: (qmail 39212 invoked by uid 500); 12 Sep 2013 19:29:53 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 39120 invoked by uid 500); 12 Sep 2013 19:29:52 -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 39085 invoked by uid 99); 12 Sep 2013 19:29:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Sep 2013 19:29:52 +0000 Date: Thu, 12 Sep 2013 19:29:51 +0000 (UTC) From: "Akira AJISAKA (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-1188) The context of QueueMetrics becomes 'default' when using FairScheduler 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-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akira AJISAKA updated YARN-1188: -------------------------------- Fix Version/s: (was: 2.3.0) (was: 3.0.0) > The context of QueueMetrics becomes 'default' when using FairScheduler > ---------------------------------------------------------------------- > > Key: YARN-1188 > URL: https://issues.apache.org/jira/browse/YARN-1188 > Project: Hadoop YARN > Issue Type: Bug > Affects Versions: 2.1.0-beta > Reporter: Akira AJISAKA > Priority: Minor > Labels: metrics, newbie > > I found the context of QueueMetrics changed to 'default' from 'yarn' when I was using FairScheduler. > The context should always be 'yarn' by adding an annotation to FSQueueMetrics like below: > {code} > + @Metrics(context="yarn") > public class FSQueueMetrics extends QueueMetrics { > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira