You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Bhavik Patel (Jira)" <ji...@apache.org> on 2021/04/16 08:21:00 UTC

[jira] [Created] (HDFS-15986) Restrict the "-skipTrash" param for accidentally deletes data

Bhavik Patel created HDFS-15986:
-----------------------------------

             Summary: Restrict the "-skipTrash" param for accidentally deletes data
                 Key: HDFS-15986
                 URL: https://issues.apache.org/jira/browse/HDFS-15986
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: Bhavik Patel


Suppose the user tries to delete the data from CLI with the "-skipTrash" param but by mistake, he deleted a couple of directories but actually, that directory user want to retain then their is no way to retrieve the delete data.

It will be good to have a confirm message like: "Skip the trash for the hdfs:///dri1/file.txt files? (Y or N)" ro we can completely disable the "-skipTrash" param.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org