Hadoop Common
  1. Hadoop Common
  2. HADOOP-8627

FS deleteOnExit may delete the wrong path

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.23.0, 2.0.0-alpha, 3.0.0
    • 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!

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development