Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 9976BD8E7 for ; Wed, 3 Oct 2012 17:24:09 +0000 (UTC) Received: (qmail 85887 invoked by uid 500); 3 Oct 2012 17:24:09 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 85828 invoked by uid 500); 3 Oct 2012 17:24:09 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 85819 invoked by uid 99); 3 Oct 2012 17:24:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 17:24:08 +0000 Date: Thu, 4 Oct 2012 04:24:08 +1100 (NCT) From: "Jing Zhao (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1488986851.159688.1349285049001.JavaMail.jiratomcat@arcas> In-Reply-To: <1876858426.938.1318343712167.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-2434) TestNameNodeMetrics.testCorruptBlock fails intermittently 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/HDFS-2434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jing Zhao updated HDFS-2434: ---------------------------- Attachment: HDFS-2434.002.patch > TestNameNodeMetrics.testCorruptBlock fails intermittently > --------------------------------------------------------- > > Key: HDFS-2434 > URL: https://issues.apache.org/jira/browse/HDFS-2434 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Reporter: Uma Maheswara Rao G > Attachments: HDFS-2434.001.patch, HDFS-2434.002.patch > > > java.lang.AssertionError: Bad value for metric CorruptBlocks expected:<1> but was:<0> > at org.junit.Assert.fail(Assert.java:91) > at org.junit.Assert.failNotEquals(Assert.java:645) > at org.junit.Assert.assertEquals(Assert.java:126) > at org.junit.Assert.assertEquals(Assert.java:470) > at org.apache.hadoop.test.MetricsAsserts.assertGauge(MetricsAsserts.java:185) > at org.apache.hadoop.hdfs.server.namenode.metrics.TestNameNodeMetrics.__CLR3_0_2t8sh531i1k(TestNameNodeMetrics.java:175) > at org.apache.hadoop.hdfs.server.namenode.metrics.TestNameNodeMetrics.testCorruptBlock(TestNameNodeMetrics.java:164) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at junit.framework.TestCase.runTest(TestCase.java:168) > at junit.framework.TestCase.runBare(TestCase.java:134) -- 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