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

TestCheckpoint#testCheckpoint may fail due to Bad value assertion

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
    • None

    Description

      I saw the following when running test suite on Linux:

      testCheckpoint(org.apache.hadoop.hdfs.server.namenode.TestCheckpoint)  Time elapsed: 3.058 sec  <<< FAILURE!
      java.lang.AssertionError: Bad value for metric GetImageNumOps
      Expected: gt(0)
           got: <0L>
      
              at org.junit.Assert.assertThat(Assert.java:780)
              at org.apache.hadoop.test.MetricsAsserts.assertCounterGt(MetricsAsserts.java:318)
              at org.apache.hadoop.hdfs.server.namenode.TestCheckpoint.testCheckpoint(TestCheckpoint.java:1058)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: