Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-12456

TestNamenodeMetrics.testSyncAndBlockReportMetric fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-beta1
    • Component/s: hdfs, metrics
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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:

      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
      

      )

        Attachments

        1. HADOOP-12456.00.patch
          1 kB
          Bharat Viswanadham

          Issue Links

            Activity

              People

              • Assignee:
                bharat Bharat Viswanadham
                Reporter:
                bharat Bharat Viswanadham
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: