Re: Class not found exception for loaded class

2023-04-17 Thread Ruibin Xing
Hi Martijn, Thanks for your advice. However, even after installing hadoop and setting HADOOP_CLASSPATH, the filesystem still doesn't work and has the same ClassNotFound exception. I think that the reported class is loaded, and is from the installed hadoop distribution: [Loaded org.apache.hadoop.

Re: Class not found exception for loaded class

2023-04-17 Thread Martijn Visser
Hi, Only the S3 Presto and S3 Hadoop filesystem plugins don't rely on Hadoop dependencies, all other filesystems do. See https://nightlies.apache.org/flink/flink-docs-master/docs/dev/configuration/advanced/#hadoop-dependencies for how to make them available. Best regards, Martijn On Mon, Apr 17

Class not found exception for loaded class

2023-04-17 Thread Ruibin Xing
Hi community, I was testing Flink 1.17 on Kubernetes and ran into a strange class loading problem. In short, the logs show org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback was loaded, however the program will throw ClassNotFoundException anyway. The exception was thrown by Aliyun