Mit Desai created HDFS-6126: ------------------------------- Summary: TestnameNodeMetrics#testCorruptBlock fails intermittently Key: HDFS-6126 URL: https://issues.apache.org/jira/browse/HDFS-6126 Project: Hadoop HDFS Issue Type: Test Affects Versions: 2.4.0 Reporter: Mit Desai
I get the following error {noformat} testCorruptBlock(org.apache.hadoop.hdfs.server.namenode.metrics.TestNameNodeMetrics) Time elapsed: 5.556 sec <<< FAILURE! java.lang.AssertionError: Bad value for metric CorruptBlocks expected:<1> but was:<0> at org.junit.Assert.fail(Assert.java:93) at org.junit.Assert.failNotEquals(Assert.java:647) at org.junit.Assert.assertEquals(Assert.java:128) at org.junit.Assert.assertEquals(Assert.java:472) at org.apache.hadoop.test.MetricsAsserts.assertGauge(MetricsAsserts.java:190) at org.apache.hadoop.hdfs.server.namenode.metrics.TestNameNodeMetrics.testCorruptBlock(TestNameNodeMetrics.java:247) Results : Failed tests: TestNameNodeMetrics.testCorruptBlock:247 Bad value for metric CorruptBlocks expected:<1> but was:<0> {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)