【发布时间】:2021-07-30 19:23:29
【问题描述】:
我目前在当前环境中运行 Apache Flink 1.2.0,并使用 BucketingSink 将数据写入 hadoop 文件系统。我可以使用file:/// 和hdfs:/// 文件系统协议写入数据,没有任何问题。在 Hortonworks 沙盒中测试。但是当我在 MapR Sandbox 中切换到使用maprfs:/// 协议编写时,它会说
No FileSystem for scheme: maprfs
Caused by: java.io.IOException: No FileSystem for scheme: maprfs
at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2644)
at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2651)
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:92)
at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2687)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2669)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:371)
at org.apache.hadoop.fs.Path.getFileSystem(Path.java:295)
我需要了解我需要在我的 Flink 应用程序中添加什么配置才能允许我写入 maprfs。在我的 MapR 集群中,core-site.xml 和 hdfs-site.xml 是空的,因此,我没有复制到我的$FLINK_CONF_DIR。
【问题讨论】:
标签: apache-flink flink-streaming