You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Ayush Saxena (JIRA)" <ji...@apache.org> on 2019/01/08 12:22:00 UTC

[jira] [Commented] (HDFS-14189) Fix intermittent failure of TestNameNodeMetrics

    [ https://issues.apache.org/jira/browse/HDFS-14189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737069#comment-16737069 ] 

Ayush Saxena commented on HDFS-14189:
-------------------------------------

Reason for failure :
The Redundancy Monitor Thread running in parallel with an interval of just 1 sec, converts the Low Redundancy Block to Pending Replication.

> 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
>         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
(v7.6.3#76005)

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