[
https://issues.apache.org/jira/browse/HADOOP-6556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832769#action_12832769
]
Suresh Srinivas commented on HADOOP-6556:
-----------------------------------------
Additional changes needed to FileContext methods:
* isFile, isDir - should it throw notFoundException or return false if the path
does not exist?
* deleteOnExit should return void instead of boolean.
> FileContext methods delete and copy should not return boolean
> -------------------------------------------------------------
>
> Key: HADOOP-6556
> URL: https://issues.apache.org/jira/browse/HADOOP-6556
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 0.21.0, 0.22.0
> Reporter: Suresh Srinivas
> Assignee: Suresh Srinivas
>
> FileContext#delete and FileContext#copy should return void instead of
> boolean. On failure an appropriate exception should be thrown that details
> the failure instead of returning false. There could be other methods in
> FileContext too that need similar changes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.