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 DC5BD797F for ; Mon, 12 Sep 2011 22:31:32 +0000 (UTC) Received: (qmail 15290 invoked by uid 500); 12 Sep 2011 22:31:32 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 15264 invoked by uid 500); 12 Sep 2011 22:31:32 -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 15256 invoked by uid 99); 12 Sep 2011 22:31:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Sep 2011 22:31:32 +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; Mon, 12 Sep 2011 22:31:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 14DB294E34 for ; Mon, 12 Sep 2011 22:31:09 +0000 (UTC) Date: Mon, 12 Sep 2011 22:31:09 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <514888070.19603.1315866669081.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HADOOP-7627) Improve MetricsAsserts to give more understandable output on failure 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 Improve MetricsAsserts to give more understandable output on failure -------------------------------------------------------------------- Key: HADOOP-7627 URL: https://issues.apache.org/jira/browse/HADOOP-7627 Project: Hadoop Common Issue Type: Improvement Components: metrics, test Affects Versions: 0.23.0 Reporter: Todd Lipcon Assignee: Todd Lipcon Priority: Minor In developing a test case that uses MetricsAsserts, I had two issues: 1) the error output in the case that an assertion failed does not currently give any information as to the _actual_ value of the metric 2) there is no way to retrieve the metric variable (eg to assert that the sum of a metric over all DNs is equal to some value) This JIRA is to improve this test class to fix the above issues. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira