Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8627

FS deleteOnExit may delete the wrong path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.23.0, 2.0.0-alpha, 3.0.0-alpha1
    • 0.23.3, 2.0.2-alpha
    • fs
    • None

    Description

      FilterFileSystem is incorrectly delegating deleteOnExit to the raw underlying fs. This is wrong, because each fs instance is intended to maintain its own pool of temp files. Worse yet, this means registering a file via ChRootedFileSystem#deleteOnExit will delete the file w/o the chroot path prepended!

      Attachments

        1. HADOOP-8627.patch
          3 kB
          Daryn Sharp
        2. HADOOP-8627-1.patch
          4 kB
          Daryn Sharp

        Issue Links

          Activity

            People

              daryn Daryn Sharp
              daryn Daryn Sharp
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: