[ https://issues.apache.org/jira/browse/HDFS-12247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiaoyu Yao updated HDFS-12247: ------------------------------ Summary: Ozone: KeySpaceManager should unregister KSMMetrics upon stop (was: Ozone: TestKSMMetrcis fails constantly) > Ozone: KeySpaceManager should unregister KSMMetrics upon stop > ------------------------------------------------------------- > > Key: HDFS-12247 > URL: https://issues.apache.org/jira/browse/HDFS-12247 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ozone > Affects Versions: HDFS-7240 > Reporter: Yiqun Lin > Assignee: Yiqun Lin > Attachments: HDFS-12247-HDFS-7240.001.patch, > HDFS-12247-HDFS-7240.002.patch > > > The test {{TestKSMMetrcis#[.testVolumeOps,.testKeyOps]}} fails constantly > recently. The stack info: > {noformat} > java.lang.AssertionError: Bad value for metric NumVolumeOps expected:<6> 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.assertCounter(MetricsAsserts.java:227) > at > org.apache.hadoop.ozone.ksm.TestKSMMetrcis.testVolumeOps(TestKSMMetrcis.java:89) > {noformat} > Seemed after the commit of HDFS-12034, the failures appeared. -- 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