[ https://issues.apache.org/jira/browse/HADOOP-6203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12749030#action_12749030 ]
Boris Shkolnik commented on HADOOP-6203: ---------------------------------------- Currently there is no CLI facility in hadoop-common, so I resorted to manual testing: >bin/hdfs dfs -lsr / -rw-r--r-- 1 0 2009-08-28 16:36 /file2 -rw-r--r-- 1 0 2009-08-28 16:37 /file3 drwxr-xr-x - 0 2009-08-28 16:37 /user drwxr-xr-x - 0 2009-08-28 16:37 /user/borya drwxr-xr-x - 0 2009-08-28 16:37 /user/borya/.Trash drwx------ - 0 2009-08-28 16:37 /user/borya/.Trash/Current -rw-r--r-- 1 0 2009-08-28 16:36 /user/borya/.Trash/Current/file1 >bin/hdfs dfs -count -q / 3 -3 none inf 4 2 0 hdfs://localhost:9000/ >bin/hdfs dfs -rm /file3 Problem with Trash. Consider using -skipTrash option <<<<<<<<< THIS IS the new line rm: Failed to move to trash: hdfs://localhost:9000/file3 > Improve error message when moving to trash fails due to quota issue > ------------------------------------------------------------------- > > Key: HADOOP-6203 > URL: https://issues.apache.org/jira/browse/HADOOP-6203 > Project: Hadoop Common > Issue Type: Improvement > Components: fs > Reporter: Jakob Homan > Assignee: Boris Shkolnik > Attachments: HADOOP-6203.patch, HADOOP-6203.patch > > > HADOOP-6080 provided an option for deleting files even when overquota, but > the error message that's returned in this situation is unhelpful and doesn't > suggest skipTrash as a remediation: > {noformat}$ hdfs -rmr /foo/bar/bat/boo > rmr: Failed to move to trash: > hdfs://cluster/foo/bar/bat/boo{noformat} > In this situation, the error message should say there was a quote problem and > suggest -skipTrash. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.