Xiaobing Xia
04/13/2024, 5:46 AMjava.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.fs.s3a.S3AFileSystem not found
at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2667) ~[?:?]
at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:3431) ~[?:?]
so it complains that it can't find the class S3AFileSystem, but I opened the "flink-s3-fs-hadoop-1.18.1.jar", apparently this class exists there.
So I moved this jar file over to "<flink_home>/lib" folder, which is strongly discouraged by the community, but it worked perfect well after doing that.
Any one has any suggestions regarding my plugin setup? Why flink job can't find the class S3AFileSystem in the plugin jar?