flink-oss-fs-hadoop-1.13.6.jar 这个 jar 需要放到 flink 的 lib 目录下
Best, Lijie highfei2011 <highfei2...@126.com> 于2022年11月1日周二 16:23写道: > 包冲突了。 > > > 在 2022年11月1日 15:39,highfei2011<highfei2...@126.com> 写道: > > > flink 版本:apache flink 1.13.6 flink operator 版本: 1.2.0 > 提交命令:kubernetes-jobmanager.sh kubernetes-application 异常: Caused by: > org.apache.flink.core.fs.UnsupportedFileSystemSchemeException: Could not > find a file system implementation for scheme 'oss'. The scheme is directly > supported by Flink through t he following plugin: flink-oss-fs-hadoop. > Please ensure that each plugin resides within its own subfolder within the > plugins directory. See https://ci.apache.org/projects/flink/flink-docs > -stable/ops/plugins.html for more information. If you want to use a Hadoop > file system for that scheme, please add the scheme to the configuration > fs.allowed-fallback-filesystems. For a f ull list of supported file > systems, please see > https://nightlies.apache.org/flink/flink-docs-stable/ops/filesystems/. > 我排查了 /opt/flink/opt/目录,下面是有 flink-oss-fs-hadoop-1.13.6.jar 注:本地测试正常,仅使用 > flink operator 提交时,发生如上异常。