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

TestHftpFileSystem fails intermittently with JDK7

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.3-alpha
    • Component/s: test
    • Labels:
    • Environment:
    • Hadoop Flags:
      Reviewed

      Description

      For example:

      testFileNameEncoding(org.apache.hadoop.hdfs.TestHftpFileSystem): Filesystem closed
      testDataNodeRedirect(org.apache.hadoop.hdfs.TestHftpFileSystem): Filesystem closed

      This test case sets up a filesystem that is used by the first half of the test methods (in declaration order), but the second half of the tests start by calling FileSystem.closeAll. With JDK7, test methods are run in an arbitrary order, so if any first half methods run after any second half methods, they fail.

        Attachments

        1. HDFS-3804-3.patch
          6 kB
          Trevor Robinson
        2. HDFS-3804-3.patch
          6 kB
          Trevor Robinson
        3. HDFS-3804.patch
          5 kB
          Daryn Sharp
        4. HDFS-3804-2.patch
          6 kB
          Trevor Robinson
        5. HDFS-3804.patch
          13 kB
          Trevor Robinson

          Activity

            People

            • Assignee:
              scurrilous Trevor Robinson
              Reporter:
              scurrilous Trevor Robinson
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: