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

Bharat Viswanadham commented on HDFS-12456:
-------------------------------------------

Here 4 syncs are happening as below:
1. Load fsimage and open for write
2. Enable Erasure coding policy
3. Create Directory /ec
4. Set Erasure coding policy.



> Test NameNode metrics test failure in testSyncAndBlockReportMetric
> ------------------------------------------------------------------
>
>                 Key: HDFS-12456
>                 URL: https://issues.apache.org/jira/browse/HDFS-12456
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs, metrics
>            Reporter: Bharat Viswanadham
>            Assignee: Bharat Viswanadham
>            Priority: Minor
>
> testSyncAndBlockReportMetric test is failure in trunk.
> org.apache.hadoop.hdfs.server.namenode.metrics.TestNameNodeMetrics.testSyncAndBlockReportMetric
> Failing for the past 6 builds (Since Failed#21132 )
> Took 0.62 sec.
> Error Message:
> {code:java}
> Bad value for metric SyncsNumOps expected:<3> but was:<4>
> Stacktrace
> java.lang.AssertionError: Bad value for metric SyncsNumOps expected:<3> but 
> was:<4>
>       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.assertCounter(MetricsAsserts.java:227)
>       at 
> org.apache.hadoop.hdfs.server.namenode.metrics.TestNameNodeMetrics.testSyncAndBlockReportMetric(TestNameNodeMetrics.java:892
> {code}
> )



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to