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 "Jakob Homan (JIRA)" <ji...@apache.org> on 2011/03/09 20:10:59 UTC

[jira] Resolved: (HADOOP-6236) clean-up Trash.moveToTrash() code. Should throw exception instead of returning false

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

Jakob Homan resolved HADOOP-6236.
---------------------------------

    Resolution: Duplicate

Resolving as duplicate of HADOOP-6345

> clean-up Trash.moveToTrash() code. Should throw exception instead of returning false
> ------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6236
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6236
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>            Reporter: Boris Shkolnik
>
> In case of errors it should throw an exception instead of returning false.
> One valid case is when interval is 0 (trash disabled), but that could be moved to a separate method isEnabled().

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