Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-12247

Ozone: KeySpaceManager should unregister KSMMetrics upon stop

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HDFS-7240
    • HDFS-7240
    • ozone
    • None
    • Reviewed

    Description

      The test TestKSMMetrcis#[.testVolumeOps,.testKeyOps] fails constantly recently. The stack info:

      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)
      

      Seemed after the commit of HDFS-12034, the failures appeared.

      Attachments

        1. HDFS-12247-HDFS-7240.001.patch
          2 kB
          Yiqun Lin
        2. HDFS-12247-HDFS-7240.002.patch
          2 kB
          Yiqun Lin

        Activity

          People

            linyiqun Yiqun Lin
            linyiqun Yiqun Lin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: