Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
-
None
Description
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.