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

Chen Liang commented on HDFS-12480:
-----------------------------------

Thanks [~hkoneru] for taking care of this. I tested the patch locally with 10 
runs, the test passed. The patch LGTM, pending Jenkins.

> TestNameNodeMetrics#testTransactionAndCheckpointMetrics Fails in trunk
> ----------------------------------------------------------------------
>
>                 Key: HDFS-12480
>                 URL: https://issues.apache.org/jira/browse/HDFS-12480
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>            Reporter: Brahma Reddy Battula
>            Assignee: Hanisha Koneru
>         Attachments: HDFS-12480.001.patch
>
>
> {noformat}
> java.lang.AssertionError: Bad value for metric LastWrittenTransactionId 
> 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.assertGauge(MetricsAsserts.java:189)
>       at 
> org.apache.hadoop.hdfs.server.namenode.metrics.TestNameNodeMetrics.testTransactionAndCheckpointMetrics(TestNameNodeMetrics.java:854)
> {noformat}



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

---------------------------------------------------------------------
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