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

TestHftpFileSystem fails intermittently with JDK7

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.3-alpha
    • test
    • 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.patch
          5 kB
          Daryn Sharp
        2. HDFS-3804.patch
          13 kB
          Trevor Robinson
        3. HDFS-3804-2.patch
          6 kB
          Trevor Robinson
        4. HDFS-3804-3.patch
          6 kB
          Trevor Robinson
        5. HDFS-3804-3.patch
          6 kB
          Trevor Robinson

        Activity

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

          People

            scurrilous Trevor Robinson Assign to me
            scurrilous Trevor Robinson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment