Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.1.0-beta
-
None
-
None
Description
While HDFS and other filesystems throw a FileAlreadyExistsException if you try to create a file that exists and you have set overwrite=false, RawLocalFileSystem throws a plain IOException. This makes it impossible to distinguish a create operation failing from a fixable problem (the file is there) and something more fundamental.