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

Albert XU commented on HADOOP-6344:
-----------------------------------

It could be reproduced in the Hadoop-1.0.4

# bin/hadoop dfs -rmr input
13/05/15 00:14:15 WARN util.NativeCodeLoader: Unable to load native-hadoop 
library for your platform... using builtin-java classes where applicable
13/05/15 00:14:15 WARN fs.Trash: Can't create trash directory: 
file:/C:/Documents and Settings/XU 
Zheng/.Trash/Current/C:/cygwin/usr/hadoop-1.0.4
Problem with Trash.Failed to set permissions of path: C:\Documents and 
Settings\XU Zheng\.Trash\Current\C:\cygwin\usr\hadoop-1.0.4 to 0700. Consider 
using -skipTrash option
rmr: Failed to move to trash: file:/C:/cygwin/usr/hadoop-1.0.4/input


                
> rm and rmr fail to correctly move the user's files to the trash prior to 
> deleting when they are over quota.  
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6344
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6344
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.20.0, 0.20.1, 0.21.0, 0.22.0
>            Reporter: gary murry
>            Assignee: Jakob Homan
>             Fix For: 0.21.0, 0.22.0
>
>         Attachments: HDFS-740-for-Y20.patch, HDFS-740.patch
>
>
> With trash turned on, if a user is over his quota and does a rm (or rmr), the 
> file is deleted without a copy being placed in the trash.

--
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