[jira] [Updated] (HDFS-11111) Delete something in .Trash using "rm" should be forbidden without safety option

2021-02-09 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HDFS-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HDFS-1:
--
Labels: Incompatible pull-request-available  (was: Incompatible)

> Delete something in  .Trash using "rm" should be forbidden without safety 
> option 
> -
>
> Key: HDFS-1
> URL: https://issues.apache.org/jira/browse/HDFS-1
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: hdfs
>Affects Versions: 2.7.2
>Reporter: Lantao Jin
>Assignee: Lantao Jin
>Priority: Major
>  Labels: Incompatible, pull-request-available
> Attachments: HDFS-1.1.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> As we discussed in HDFS-11102, double confirmation does not seem to be a 
> graceful solution for users. Deleting files in .Trash accidentally is still 
> an issue though. The behaviour of users I'm worried about is {{rm}} ing 
> something in .Trash (without explicitly understanding that those files will 
> not be recoverable). This is in contrast to {{rm}} ing something with 
> "-skipTrash" option (That's a very purposeful action).
> So it is not the same case as 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 somehing trash directly! Please add "-trash" or "-T" in "rm" 
> command to do that.
> {code}



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

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



[jira] [Updated] (HDFS-11111) Delete something in .Trash using "rm" should be forbidden without safety option

2017-05-11 Thread John Zhuge (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Zhuge updated HDFS-1:
--
Hadoop Flags: Incompatible change

> Delete something in  .Trash using "rm" should be forbidden without safety 
> option 
> -
>
> Key: HDFS-1
> URL: https://issues.apache.org/jira/browse/HDFS-1
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: hdfs
>Affects Versions: 2.7.2
>Reporter: Lantao Jin
>  Labels: Incompatible
> Attachments: HDFS-1.1.patch
>
>
> As we discussed in HDFS-11102, double confirmation does not seem to be a 
> graceful solution for users. Deleting files in .Trash accidentally is still 
> an issue though. The behaviour of users I'm worried about is {{rm}} ing 
> something in .Trash (without explicitly understanding that those files will 
> not be recoverable). This is in contrast to {{rm}} ing something with 
> "-skipTrash" option (That's a very purposeful action).
> So it is not the same case as 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 somehing trash directly! Please add "-trash" or "-T" in "rm" 
> command to do that.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Updated] (HDFS-11111) Delete something in .Trash using "rm" should be forbidden without safety option

2016-11-18 Thread Lantao Jin (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lantao Jin updated HDFS-1:
--
Attachment: HDFS-1.1.patch

> Delete something in  .Trash using "rm" should be forbidden without safety 
> option 
> -
>
> Key: HDFS-1
> URL: https://issues.apache.org/jira/browse/HDFS-1
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: hdfs
>Affects Versions: 2.7.2
>Reporter: Lantao Jin
>  Labels: Incompatible
> Attachments: HDFS-1.1.patch
>
>
> As we discussed in HDFS-11102, double confirmation does not seem to be a 
> graceful solution for users. Deleting files in .Trash accidentally is still 
> an issue though. The behaviour of users I'm worried about is {{rm}} ing 
> something in .Trash (without explicitly understanding that those files will 
> not be recoverable). This is in contrast to {{rm}} ing something with 
> "-skipTrash" option (That's a very purposeful action).
> So it is not the same case as 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 somehing 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Updated] (HDFS-11111) Delete something in .Trash using "rm" should be forbidden without safety option

2016-11-12 Thread Arpit Agarwal (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDFS-1:
-
Labels: Incompatible  (was: )

> Delete something in  .Trash using "rm" should be forbidden without safety 
> option 
> -
>
> Key: HDFS-1
> URL: https://issues.apache.org/jira/browse/HDFS-1
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: hdfs
>Affects Versions: 2.7.2
>Reporter: Lantao Jin
>  Labels: Incompatible
>
> As we discussed in HDFS-11102, double confirmation does not seem to be a 
> graceful solution for users. Deleting files in .Trash accidentally is still 
> an issue though. The behaviour of users I'm worried about is {{rm}} ing 
> something in .Trash (without explicitly understanding that those files will 
> not be recoverable). This is in contrast to {{rm}} ing something with 
> "-skipTrash" option (That's a very purposeful action).
> So it is not the same case as 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 somehing 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Updated] (HDFS-11111) Delete something in .Trash using "rm" should be forbidden without safety option

2016-11-11 Thread Lantao Jin (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lantao Jin updated HDFS-1:
--
Affects Version/s: 2.7.2
   Status: Patch Available  (was: Open)

> Delete something in  .Trash using "rm" should be forbidden without safety 
> option 
> -
>
> Key: HDFS-1
> URL: https://issues.apache.org/jira/browse/HDFS-1
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: hdfs
>Affects Versions: 2.7.2
>Reporter: Lantao Jin
>
> As we discussed in HDFS-11102, double confirmation does not seem to be a 
> graceful solution for users. Deleting files in .Trash accidentally is still 
> an issue though. The behaviour of users I'm worried about is {{rm}} ing 
> something in .Trash (without explicitly understanding that those files will 
> not be recoverable). This is in contrast to {{rm}} ing something with 
> "-skipTrash" option (That's a very purposeful action).
> So it is not the same case as 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 somehing 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Updated] (HDFS-11111) Delete something in .Trash using "rm" should be forbidden without safety option

2016-11-07 Thread Ravi Prakash (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ravi Prakash updated HDFS-1:

Description: 
As we discussed in HDFS-11102, double confirmation does not seem to be a 
graceful solution for users. Deleting files in .Trash accidentally is still an 
issue though. The behaviour of users I'm worried about is {{rm}} ing something 
in .Trash (without explicitly understanding that those files will not be 
recoverable). This is in contrast to {{rm}} ing something with "-skipTrash" 
option (That's a very purposeful action).

So it is not the same case as 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 somehing trash directly! Please add "-trash" or "-T" in "rm" 
command to do that.
{code}

  was:
As we discussed in HDFS-11102, double confirmation does not seem to be a 
graceful solution for users. Deleting files in .Trash accidentally is still an 
issue though. The behaviour of users I'm worried about is {{rm}}ing something 
in .Trash (without explicitly understanding that those files will not be 
recoverable). This is in contrast to {{rm}}ing something with "-skipTrash" 
option (That's a very purposeful action).

So it is not the same case as 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 somehing trash directly! Please add "-trash" or "-T" in "rm" 
command to do that.
{code}


> Delete something in  .Trash using "rm" should be forbidden without safety 
> option 
> -
>
> Key: HDFS-1
> URL: https://issues.apache.org/jira/browse/HDFS-1
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: hdfs
>Reporter: Lantao Jin
>
> As we discussed in HDFS-11102, double confirmation does not seem to be a 
> graceful solution for users. Deleting files in .Trash accidentally is still 
> an issue though. The behaviour of users I'm worried about is {{rm}} ing 
> something in .Trash (without explicitly understanding that those files will 
> not be recoverable). This is in contrast to {{rm}} ing something with 
> "-skipTrash" option (That's a very purposeful action).
> So it is not the same case as 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 somehing 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Updated] (HDFS-11111) Delete something in .Trash using "rm" should be forbidden without safety option

2016-11-07 Thread Ravi Prakash (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ravi Prakash updated HDFS-1:

Description: 
As we discussed in HDFS-11102, double confirmation does not seem to be a 
graceful solution for users. Deleting files in .Trash accidentally is still an 
issue though. The behaviour of users I'm worried about is {{rm}}ing something 
in .Trash (without explicitly understanding that those files will not be 
recoverable). This is in contrast to {{rm}}ing something with "-skipTrash" 
option (That's a very purposeful action).

So it is not the same case as 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 somehing trash directly! Please add "-trash" or "-T" in "rm" 
command to do that.
{code}

  was:
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}


> Delete something in  .Trash using "rm" should be forbidden without safety 
> option 
> -
>
> Key: HDFS-1
> URL: https://issues.apache.org/jira/browse/HDFS-1
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: hdfs
>Reporter: Lantao Jin
>
> As we discussed in HDFS-11102, double confirmation does not seem to be a 
> graceful solution for users. Deleting files in .Trash accidentally is still 
> an issue though. The behaviour of users I'm worried about is {{rm}}ing 
> something in .Trash (without explicitly understanding that those files will 
> not be recoverable). This is in contrast to {{rm}}ing something with 
> "-skipTrash" option (That's a very purposeful action).
> So it is not the same case as 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 somehing 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org