[ 
https://issues.apache.org/jira/browse/HDFS-4889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13677498#comment-13677498
 ] 

Suresh Srinivas commented on HDFS-4889:
---------------------------------------

HADOOP-8689 made an incompatible change and moved fs.trash.interval to server 
side. When you ran this test, is trash enabled on the server side? If it is, 
there is no way to disable it on client side!
                
> passing -Dfs.trash.interval to command line is not respected.
> -------------------------------------------------------------
>
>                 Key: HDFS-4889
>                 URL: https://issues.apache.org/jira/browse/HDFS-4889
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.1.0-beta
>            Reporter: Trupti Dhavle
>             Fix For: 2.1.0-beta
>
>
> Ran "hadoop dfs -Dfs.trash.interval=0 -rm /user/<username>/README
> DEPRECATED: Use of this script to execute hdfs command is deprecated.
> Instead use the hdfs command for it.
> Moved: 'hdfs://<host:port>/user/<username>/README' to trash at: 
> hdfs://<host:port>/user/<username>/.Trash/Current
> Expected that the file doesnt go to Trash and gets deleted directly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to