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

default behaviour of dfsShell -rm should resemble 'rm -i', not 'rm -rf'

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6.2
    • 0.7.0
    • None
    • None

    Description

      when using hadoop dfs -rm <path> the behaviour is like that of rm -rf.
      That's very dangerous.
      A better behaviour would require a confirmation and allow removal of files only by default. Optional flags would allow recursive and forced deleted.

      Attachments

        1. rmr.patch.txt
          2 kB
          Sameer Paranjpye

        Issue Links

          Activity

            People

              sameerp Sameer Paranjpye
              yarnon Yoram Arnon
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: