Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
2.8.0
-
None
-
None
Description
Filesystems which don't support things like append() tend to throw a simple IOE, which makes it hard to distinguish "append didn't work for some IO problem" and "append isn't implemented".
If we add a new exception, UnsupportedFeatureException, make it the strict failure mode of such operations if not supported and patch all our filesystems to raise it, then at least code has a straightforward check. Same for any other unimplemented feature
Attachments
Issue Links
- relates to
-
HADOOP-12726 Unsupported FS operations should throw UnsupportedOperationException
- Resolved