You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by steveloughran <gi...@git.apache.org> on 2017/08/01 13:21:49 UTC

[GitHub] flink issue #4397: [FLINK-7265] [FLINK-7266] Introduce FileSystemKind and Co...

Github user steveloughran commented on the issue:

    https://github.com/apache/flink/pull/4397
  
    We've long experimented with the best way to do this in Hadoop, and I think we're converting on moving off any form of enum to some `hasFeature(String)` predicate. Why? Lets you handle a more of the obscure corner cases of blobstores, and have room to play in future versions. If it's a simple bool `isPosix()` all seems well, but in future you may even there want to consider a test for whether seek + write is supported, the FS is case sensititive, etc. Strings are probably going to turn out to be the best option


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---