Krzysztof Chmielewski
04/25/2023, 12:34 PMCaused by: java.lang.LinkageError: loader constraint violation: when resolving method 'void org.apache.hadoop.util.SemaphoredDelegatingExecutor.(com.google.common.util.concurrent.ListeningExecutorService, int, boolean)' the class loader org.apache.flink.util.ChildFirstClassLoader @2486925f of the current class, org/apache/hadoop/fs/s3a/S3AFileSystem, and the class loader 'app' for the method's defining class, org/apache/hadoop/util/SemaphoredDelegatingExecutor, have different Class objects for the type com/google/common/util/concurrent/ListeningExecutorService used in the signature (org.apache.hadoop.fs.s3a.S3AFileSystem is in unnamed module of loader org.apache.flink.util.ChildFirstClassLoader @2486925f, parent loader 'app'; org.apache.hadoop.util.SemaphoredDelegatingExecutor is in unnamed module of loader 'app')
at org.apache.hadoop.fs.s3a.S3AFileSystem.create(S3AFileSystem.java:769)
at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1118)
at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1098)
at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:987)
at io.delta.storage.S3SingleDriverLogStore.write(S3SingleDriverLogStore.java:299)
Any idea what can be causing this problem?
The same job is workign fine when trying to write into local path, so Im guessing that somethign with s3 plugin, some dependency issue.
Other job, that does not use Hive catalog can write to S3 on the same cluster.Martijn Visser
04/25/2023, 12:42 PMKrzysztof Chmielewski
04/25/2023, 12:42 PM<target.java.version>11</target.java.version>
but Delta connector is 1.8Martijn Visser
04/25/2023, 12:43 PMKrzysztof Chmielewski
04/25/2023, 12:43 PMMartijn Visser
04/25/2023, 12:43 PMMartijn Visser
04/25/2023, 12:44 PMMartijn Visser
04/25/2023, 12:44 PMMartijn Visser
04/25/2023, 12:45 PMKrzysztof Chmielewski
04/25/2023, 12:45 PMKrzysztof Chmielewski
04/25/2023, 12:46 PMMartijn Visser
04/25/2023, 12:46 PMMartijn Visser
04/25/2023, 12:48 PMMartijn Visser
04/25/2023, 12:57 PM2.8.5, while your Hadoop Classpath uses Hadoop 3.1.3. The Hadoop S3 connector also uses Hadoop 3, but 3.3.2.Krzysztof Chmielewski
04/25/2023, 1:06 PMKrzysztof Chmielewski
04/25/2023, 1:06 PMKrzysztof Chmielewski
04/25/2023, 4:51 PMKrzysztof Chmielewski
04/25/2023, 9:23 PMMartijn Visser
04/25/2023, 9:49 PM