Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha2
    • Component/s: fs/s3
    • Labels:
      None
    • Target Version/s:

      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

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              stevel@apache.org Steve Loughran Assign to me
              Reporter:
              stevel@apache.org Steve Loughran

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment