[ https://issues.apache.org/jira/browse/FLINK-28112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17555590#comment-17555590 ]
Prabhu Joseph commented on FLINK-28112: --------------------------------------- Yes you are right. But *S3 scheme is not directly supported by Flink* log message is a wrong information to user. Flink directly supports S3 scheme. Suggest to check if the scheme is part of directly supported filesystem or not, based on that log the message in the final else {code} } else { try { fs = FALLBACK_FACTORY.create(uri); } catch (UnsupportedFileSystemSchemeException e) { throw new UnsupportedFileSystemSchemeException( "Could not find a file system implementation for scheme '" + uri.getScheme() + "'. The scheme is not directly supported by Flink and no Hadoop file system to " + "support this scheme could be loaded. For a full list of supported file systems, " + "please see https://nightlies.apache.org/flink/flink-docs-stable/ops/filesystems/.", e); } } {code} > Misleading error message when Hadoop S3FileSystem is used and not at classpath > ------------------------------------------------------------------------------ > > Key: FLINK-28112 > URL: https://issues.apache.org/jira/browse/FLINK-28112 > Project: Flink > Issue Type: Improvement > Affects Versions: 1.15.0 > Reporter: Prabhu Joseph > Priority: Minor > > When Using Hadoop S3FileSystem which is not at classpath, below error message > is thrown *S3 scheme is not directly supported by Flink* which is misleading. > Actually it is one of the directly supported filesystems. > {code} > Caused by: org.apache.flink.core.fs.UnsupportedFileSystemSchemeException: > Could not find a file system implementation for scheme 's3'. The scheme is > not directly supported by Flink and no Hadoop file system to support this > scheme could be loaded. For a full list of supported file systems, please see > https://nightlies.apache.org/flink/flink-docs-stable/ops/filesystems/. > {code} -- This message was sent by Atlassian Jira (v8.20.7#820007)