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

rm "Only deletes non empty directory and files."

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

    Details

    • Hadoop Flags:
      Reviewed

      Description

      The documentation (1.0.3) is describing the opposite of what rm does.
      It should be "Only delete files and empty directories."

      With regards to file, the size of the file should not matter, should it?

      OR I am totally misunderstanding the semantic of this command and I am not the only one.

        Attachments

        1. HADOOP-8791-branch-1.001.patch
          2 kB
          Jing Zhao
        2. HADOOP-8791-branch-1.patch
          1 kB
          Jing Zhao
        3. HADOOP-8791-branch-1.patch
          0.9 kB
          Jing Zhao
        4. HADOOP-8791-trunk.001.patch
          2 kB
          Jing Zhao
        5. HADOOP-8791-trunk.patch
          1 kB
          Jing Zhao
        6. HADOOP-8791-trunk.patch
          1 kB
          Jing Zhao

        Issue Links

          Activity

            People

            • Assignee:
              jingzhao Jing Zhao
              Reporter:
              bdechoux Bertrand Dechoux

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment