VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.9.0
    • 2.8.0, 3.0.0-alpha2
    • fs/s3
    • None

    Description

      if you try to delete the root directory on s3a, you get politely but firmly told you can't

      2016-03-30 12:01:44,924 INFO  s3a.S3AFileSystem (S3AFileSystem.java:delete(638)) - s3a cannot delete the root directory
      

      The semantics of rm -rf "/" are defined, they are "delete everything underneath, while preserving the root dir itself".

      1. s3a needs to support this.
      2. this skipped through the FS contract tests in AbstractContractRootDirectoryTest; the option of whether deleting / works or not should be made configurable.

      Attachments

        1. HADOOP-12977-branch-2-006.patch
          18 kB
          Chris Nauroth
        2. HADOOP-12977-branch-2-005.patch
          18 kB
          Steve Loughran
        3. HADOOP-12977-branch-2-004.patch
          18 kB
          Steve Loughran
        4. HADOOP-12977-branch-2-003.patch
          18 kB
          Steve Loughran
        5. HADOOP-12977-branch-2-002.patch
          18 kB
          Steve Loughran
        6. HADOOP-12977-branch-2-002.patch
          18 kB
          Steve Loughran
        7. HADOOP-12977-002.patch
          18 kB
          Steve Loughran
        8. HADOOP-12977-001.patch
          7 kB
          Steve Loughran

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            stevel@apache.org Steve Loughran
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment