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

TestNamenodeMetrics.testSyncAndBlockReportMetric fails

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0-beta1
    • hdfs, metrics
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment