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

Fix intermittent TestShortCircuitCache and TestBlockReaderFactory failures resulting from TemporarySocketDirectory GC

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.1
    • 2.7.0
    • test
    • None

    Description

      TemporarySocketDirectory has finalize method deletes the directory, in TestShortCircuitCache and TestBlockReaderFactory, the TemporarySocketDirectory created are not refereced later in the tests, which can get garbage collected (deleted the dir) before Datanode start up accessing the directory under TemporarySocketDirectory causing FileNotFoundException.

      Attachments

        1. HDFS-7282.patch
          2 kB
          Jinghui Wang

        Activity

          People

            jwang302 Jinghui Wang
            jwang302 Jinghui Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: