Github user StephanEwen commented on the issue:
https://github.com/apache/flink/pull/6118
I think this is a misdiagnosis, this should not be merged.
Flink does not need a file system factory for Hadoop, it uses Hadoop's FS
as the general fallback for all schemes that it does not have a factory for.
The exception in the linked JIRA comes from Hadoop's own File System
discovery. There is probably some casting error or so (may be due to inverted
classloading).---
