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

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

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.0
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: