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

FS deleteOnExit may delete the wrong path

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.23.0, 2.0.0-alpha, 3.0.0-alpha1
    • Fix Version/s: 0.23.3, 2.0.2-alpha
    • Component/s: fs
    • Labels:
      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-1.patch
          4 kB
          Daryn Sharp
        2. HADOOP-8627.patch
          3 kB
          Daryn Sharp

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: