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

Akira Ajisaka updated HDFS-14189:
---------------------------------
    Fix Version/s: 3.2.3
      Description: 
{noformat}
java.lang.AssertionError: Bad value for metric LowRedundancyBlocks expected:<1> 
but was:<0>
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.failNotEquals(Assert.java:743)
        at org.junit.Assert.assertEquals(Assert.java:118)
        at org.junit.Assert.assertEquals(Assert.java:555)
        at 
org.apache.hadoop.test.MetricsAsserts.assertGauge(MetricsAsserts.java:189)
        at 
org.apache.hadoop.hdfs.server.namenode.metrics.TestNameNodeMetrics.testCorruptBlock(TestNameNodeMetrics.java:488)
{noformat}


  was:

{noformat}
java.lang.AssertionError: Bad value for metric LowRedundancyBlocks expected:<1> 
but was:<0>
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.failNotEquals(Assert.java:743)
        at org.junit.Assert.assertEquals(Assert.java:118)
        at org.junit.Assert.assertEquals(Assert.java:555)
        at 
org.apache.hadoop.test.MetricsAsserts.assertGauge(MetricsAsserts.java:189)
        at 
org.apache.hadoop.hdfs.server.namenode.metrics.TestNameNodeMetrics.testCorruptBlock(TestNameNodeMetrics.java:488)
{noformat}



Backported to branch-3.2.

> Fix intermittent failure of TestNameNodeMetrics
> -----------------------------------------------
>
>                 Key: HDFS-14189
>                 URL: https://issues.apache.org/jira/browse/HDFS-14189
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>             Fix For: 3.3.0, 3.2.3
>
>         Attachments: HDFS-14189-01.patch
>
>
> {noformat}
> java.lang.AssertionError: Bad value for metric LowRedundancyBlocks 
> expected:<1> but was:<0>
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.failNotEquals(Assert.java:743)
>       at org.junit.Assert.assertEquals(Assert.java:118)
>       at org.junit.Assert.assertEquals(Assert.java:555)
>       at 
> org.apache.hadoop.test.MetricsAsserts.assertGauge(MetricsAsserts.java:189)
>       at 
> org.apache.hadoop.hdfs.server.namenode.metrics.TestNameNodeMetrics.testCorruptBlock(TestNameNodeMetrics.java:488)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to