Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-beta1
    • Component/s: fs/azure
    • Labels:
      None
    • Target Version/s:
    • Release Note:
      Recursive directory delete improvement for the wasb filesystem.

      Description

      FileSystem.delete(Path path) and delete(Path path, boolean recursive) return false if the path does not exist. The WASB implementation of recursive delete currently fails if one of the entries is deleted by an external agent while a recursive delete is in progress. For example, if you try to delete all of the files in a directory, which can be a very long process, and one of the files contained within is deleted by an external agent, the recursive directory delete operation will fail if it tries to delete that file and discovers that it does not exist. This is not desirable. A recursive directory delete operation should succeeed if the directory initially exists and when the operation completes, the directory and all of its entries do not exist.

        Attachments

        1. HADOOP-14769-001.patch
          9 kB
          Thomas Marquardt
        2. HADOOP-14769-002.patch
          9 kB
          Thomas Marquardt

          Activity

            People

            • Assignee:
              tmarquardt Thomas Marquardt
              Reporter:
              tmarquardt Thomas Marquardt
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: