You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2018/01/05 13:19:00 UTC
[jira] [Created] (FLINK-8373) Inconsistencies in some FileSystem
directory functions
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)