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

Jakob Homan commented on HADOOP-6203:
-------------------------------------

2 is probably preferable.  The real implementation problem is that the Quota 
exception is in HDFS and so can't be caught and identified in Common.  

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

Reply via email to