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

rm "Only deletes non empty directory and files."

    XMLWordPrintableJSON

Details

    • 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

              jingzhao Jing Zhao
              bdechoux Bertrand Dechoux
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: