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

dfs does not support -rmdir (was HDFS-639)

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.23.0
    • fs
    • None
    • Reviewed
    • The "rm" family of FsShell commands now supports -rmdir and -f options.

    Description

      From HDFS-639
      > Given we have a mkdir, we should have a rmdir. Using rmr is not
      > a reasonable substitute when you only want to delete empty
      > directories.

      Attachments

        1. HADOOP-6385.patch
          10 kB
          Scott Phillips
        2. HADOOP-6385-2.patch
          7 kB
          Daryn Sharp
        3. HADOOP-6385-2.patch
          7 kB
          Daryn Sharp
        4. HADOOP-6385-3.patch
          7 kB
          Daryn Sharp

        Issue Links

        Activity

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

          People

            daryn Daryn Sharp
            sphillip Scott Phillips
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment