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

TestRollingFileSystemSinkWithHdfs#testFailedClose() fails on branch-2

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0
    • Component/s: test
    • Labels:
      None
    • Environment:

      jenkins

    • Hadoop Flags:
      Reviewed

      Description

      Running org.apache.hadoop.metrics2.sink.TestRollingFileSystemSinkWithHdfs
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 9.263 sec <<< FAILURE! - in org.apache.hadoop.metrics2.sink.TestRollingFileSystemSinkWithHdfs
      testFailedClose(org.apache.hadoop.metrics2.sink.TestRollingFileSystemSinkWithHdfs)  Time elapsed: 8.729 sec  <<< FAILURE!
      java.lang.AssertionError: No exception was generated while stopping sink even though HDFS was unavailable
              at org.junit.Assert.fail(Assert.java:88)
              at org.apache.hadoop.metrics2.sink.TestRollingFileSystemSinkWithHdfs.testFailedClose(TestRollingFileSystemSinkWithHdfs.java:187)
      

      This passes fine on trunk.

        Attachments

        1. HDFS-10449.branch-2.001.patch
          0.9 kB
          Takanobu Asanuma

          Activity

            People

            • Assignee:
              tasanuma Takanobu Asanuma
              Reporter:
              tasanuma Takanobu Asanuma
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: