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

Fix intermittent TestShortCircuitCache and TestBlockReaderFactory failures resulting from TemporarySocketDirectory GC

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.1
    • Fix Version/s: 2.7.0
    • Component/s: test
    • Labels:
      None
    • Target Version/s:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: