hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lantao Jin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-11111) Delete something in .Trash using "rm" should be forbidden without safety option
Date Sat, 05 Nov 2016 05:18:58 GMT
Lantao Jin created HDFS-11111:
---------------------------------

             Summary: Delete something in  .Trash using "rm" should be forbidden without safety
option 
                 Key: HDFS-11111
                 URL: https://issues.apache.org/jira/browse/HDFS-11111
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: hdfs
            Reporter: Lantao Jin


As we discussed in HDFS-11102, double confirmation seems not a graceful solution for user.
But deleting trash files unexpected is till an incident issue. The behaviour of user I worried
is rm something in trash, not rm something out trash with "skipTrash" option(That's a very
purposeful action).

So it is not the same case with HADOOP-12358. The solution is throwing an exception and remind
user to add "-trash" option to delete dirs in trash for safely:
{code}
Can not delete somthing in trash directly! Please add "-trash" or "-T" in "rm" command to
do that.
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message