hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boris Shkolnik (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6203) Improve error message when moving to trash fails due to quota issue
Date Thu, 27 Aug 2009 18:37:59 GMT

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

Boris Shkolnik commented on HADOOP-6203:
----------------------------------------

Well, there are few ways of solving this.
1. print out the "cause" exception together with the error message. That will tell the person
that the problem was with Quota. We cannot make suggestions about "-skipTrash" in this case.
2. catch and rethrow exception in delete function when trying to move to Trash. This way we
know that the problem is with trash and we can issue a message suggesting using "-skipTrash".
The disadvantage is that this way we issue two separate messages.

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


Mime
View raw message