FAQ
Standardize when we return false and when we throw IOException in FileSystem API
--------------------------------------------------------------------------------

Key: HADOOP-6499
URL: https://issues.apache.org/jira/browse/HADOOP-6499
Project: Hadoop Common
Issue Type: Improvement
Reporter: Zheng Shao


Currently most of the methods in Hadoop FileSystem has 2 ways of returning errors:
1. Return false
2. throw an IOException

We should standardize what should happen in what case, so that the caller can retry/fail accordingly.

The standard can be added to javadoc of FileSystem, then we need to verify all FileSystem implementation follow the same standard.


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedJan 19, '10 at 8:30p
activeJan 19, '10 at 8:30p
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Zheng Shao (JIRA): 1 post

People

Translate

site design / logo © 2022 Grokbase