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

Add -safely flag to rm to prompt when deleting many files

VotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • fs

    Description

      We have seen many cases with customers deleting data inadvertently with -skipTrash. The FSShell should prompt user if the size of the data or the number of files being deleted is bigger than a threshold even though -skipTrash is being used.

      Attachments

        1. HADOOP-12358.00.patch
          6 kB
          Xiaoyu Yao
        2. HADOOP-12358.01.patch
          9 kB
          Xiaoyu Yao
        3. HADOOP-12358.02.patch
          20 kB
          Xiaoyu Yao
        4. HADOOP-12358.03.patch
          28 kB
          Xiaoyu Yao
        5. HADOOP-12358.04.patch
          25 kB
          Xiaoyu Yao
        6. HADOOP-12358.05.patch
          28 kB
          Xiaoyu Yao
        7. HADOOP-12358.06.patch
          28 kB
          Xiaoyu Yao
        8. HADOOP-12358.07.patch
          28 kB
          Xiaoyu Yao

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            xyao Xiaoyu Yao
            xyao Xiaoyu Yao
            Votes:
            0 Vote for this issue
            Watchers:
            13 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment