Stephan Ewen created FLINK-8373:
-----------------------------------
Summary: Inconsistencies in some FileSystem directory functions
Key: FLINK-8373
URL:
https://issues.apache.org/jira/browse/FLINK-8373 Project: Flink
Issue Type: Bug
Components: Core
Affects Versions: 1.4.0
Reporter: Stephan Ewen
Assignee: Stephan Ewen
Priority: Minor
Fix For: 1.5.0
There are some minor differences in the behaviors of some File System functions, like {{mkdirs()}}. On some filesystems, it tolerates existing directories or files in place of parent directories. Some return false in an error case, some throw an exception.
I encountered this during writing tests for the file basted state backends. We should harmonize the behavior of {{FileSystem.mkdirs()}}.
I suggest to adopt the behavior that is used by HDFS, which seems the most correct one.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)