hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7430) Improve error message when moving to trash fails due to quota issue
Date Mon, 11 Jul 2011 20:58:59 GMT

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

Daryn Sharp commented on HADOOP-7430:

I'm not very fond of the string searches for special casing exception handling.  Almost anything
that can go wrong while trashing items will be avoided when using {{-skipTrash}}.  I think
the main part of the patch should just be a short and simple:

try {
  success = Trash.moveToAppropriateTrash(item.fs, item.path, getConf());
} catch (IOException ioe) {
  throw new IOException(ioe.getLocalizedMessage() + ". Consider using -skipTrash option");

> Improve error message when moving to trash fails due to quota issue
> -------------------------------------------------------------------
>                 Key: HADOOP-7430
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7430
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>            Priority: Minor
>         Attachments: HADOOP-7430.1.patch, HADOOP-7430.2.patch
> -rm command doesn't suggest -skipTrash on failure.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message