Egor Shevdin
03/20/2024, 1:24 PMjobmanager:
image: flink:1.17.2-scala_2.12-java8
ports:
- "8081:8081"
command: jobmanager
networks:
iceberg-nessie-flink-net:
volumes:
- type: bind
source: ./dependencies/iceberg-flink-runtime-1.17-1.4.3.jar
target: /opt/flink/lib/iceberg-flink-runtime-1.17-1.4.3.jar
environment:
- |
FLINK_PROPERTIES=
jobmanager.rpc.address: jobmanager
parallelism.default: 2
- ENABLE_BUILT_IN_PLUGINS=flink-s3-fs-hadoop-1.17.2.jar
I enabled the flink-s3-fs-hadoop-1.17.2.jar plugin, however, when using the built-in SQL client, when executing
CREATE CATALOG iceberg WITH ('type'='iceberg','catalog-impl'='org.apache.iceberg.nessie.NessieCatalog','io-impl'='org.apache.iceberg.aws.s3.S3FileIO','uri'='http://catalog:19120/api/v1','authentication.type'='none','ref'='main','client.assume-role.region'='us-east-1','warehouse'='s3://warehouse','s3.endpoint'='http://10.172.6.3:9000');
I get this error:
[ERROR] Could not execute SQL statement. Reason:
java.lang.ClassNotFoundException: org.apache.hadoop.conf.Configuration