[ 
https://issues.apache.org/jira/browse/HDFS-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Trevor Robinson resolved HDFS-3812.
-----------------------------------

    Resolution: Duplicate
    
> TestNameNodeMetrics.testCorruptBlock fails
> ------------------------------------------
>
>                 Key: HDFS-3812
>                 URL: https://issues.apache.org/jira/browse/HDFS-3812
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.2.0-alpha
>         Environment: Apache Maven 3.0.4
> Maven home: /usr/share/maven
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-25-generic", arch: "amd64", family: "unix"
>            Reporter: Trevor Robinson
>
> I hit this on my last several builds of trunk. Failure mode is the same as 
> HDFS-540 and HDFS-2966.
> {noformat}
> testCorruptBlock(org.apache.hadoop.hdfs.server.namenode.metrics.TestNameNodeMetrics)
>   Time elapsed: 7.082 sec  <<< FAILURE!
> java.lang.AssertionError: Bad value for metric PendingReplicationBlocks 
> expected:<0> but was:<1>
>         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:191)
>         at 
> org.apache.hadoop.hdfs.server.namenode.metrics.TestNameNodeMetrics.testCorruptBlock(TestNameNodeMetrics.java:186)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to