You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Eli Collins (JIRA)" <ji...@apache.org> on 2012/08/14 05:31:38 UTC

[jira] [Updated] (HADOOP-8696) Trash.moveToTrash should be more helpful on errors

     [ https://issues.apache.org/jira/browse/HADOOP-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eli Collins updated HADOOP-8696:
--------------------------------

    Labels: newbie  (was: )
    
> Trash.moveToTrash should be more helpful on errors
> --------------------------------------------------
>
>                 Key: HADOOP-8696
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8696
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 1.0.3
>            Reporter: Steve Loughran
>            Priority: Minor
>              Labels: newbie
>
> When {{Trash.moveToTrash()}} catches an exception, it wraps it with an IOException: {{new IOException("Failed to move to trash: "+path).initCause(cause);}} -but this doesn't include the exception name in the end-user string. 
> As a result, people see the "Failed to move to trash" exception, but nobody knows what went wrong.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira