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

TestRollingFileSystemSinkWithHdfs#testFlushThread: test failed intermittently

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.1
    • 3.2.0, 3.1.1, 3.0.3
    • hdfs
    • None
    • Reviewed

    Description

      The test fails very rarely on a laptop, but very commonly during Jenkins runs.

      Error Message
        Flush thread did not run within 10 seconds
      Stacktrace
      java.lang.AssertionError: Flush thread did not run within 10 seconds
      	at org.apache.hadoop.metrics2.sink.TestRollingFileSystemSinkWithHdfs.testFlushThread(TestRollingFileSystemSinkWithHdfs.java:291)
      

      According to my test, this breaks about 0.3% locally.

      Attachments

        1. HDFS-13481.001.patch
          1 kB
          Gabor Bota

        Activity

          People

            gabor.bota Gabor Bota
            gabor.bota Gabor Bota
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: