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

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

    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-3.patch
          7 kB
          Daryn Sharp
        2. HADOOP-6385-2.patch
          7 kB
          Daryn Sharp
        3. HADOOP-6385-2.patch
          7 kB
          Daryn Sharp
        4. HADOOP-6385.patch
          10 kB
          Scott Phillips

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: