Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8031 Follow-on work for erasure coding phase I (striping layout)
  3. HDFS-10434

Fix intermittent test failure of TestDataNodeErasureCodingMetrics

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha1
    • None
    • None

    Description

      This jira is to fix the test case failure.

      Reference : Build15485_TestDataNodeErasureCodingMetrics_testEcTasks

      Error Message
      
      Bad value for metric EcReconstructionTasks expected:<1> but was:<0>
      Stacktrace
      
      java.lang.AssertionError: Bad value for metric EcReconstructionTasks 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.assertCounter(MetricsAsserts.java:228)
      	at org.apache.hadoop.hdfs.server.datanode.TestDataNodeErasureCodingMetrics.testEcTasks(TestDataNodeErasureCodingMetrics.java:92)
      

      Attachments

        1. HDFS-10434-00.patch
          2 kB
          Rakesh Radhakrishnan
        2. HDFS-10434-01.patch
          2 kB
          Rakesh Radhakrishnan

        Issue Links

          Activity

            People

              rakeshr Rakesh Radhakrishnan
              rakeshr Rakesh Radhakrishnan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: