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 "Boris Shkolnik (JIRA)" <ji...@apache.org> on 2009/09/03 20:16:58 UTC

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

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
            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.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Boris Shkolnik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Shkolnik updated HADOOP-6236:
-----------------------------------

    Component/s: fs

> 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.
-
You can reply to this email to add a comment to the issue online.