Steven Zhen Wu created FLINK-30035:
--------------------------------------
Summary: ./bin/sql-client.sh won't import external jar into the
session
Key: FLINK-30035
URL: https://issues.apache.org/jira/browse/FLINK-30035
Project: Flink
Issue Type: Bug
Components: Table SQL / Client
Affects Versions: 1.16.0
Reporter: Steven Zhen Wu
I used to be able to run the sql-client with iceberg-flink-runtime jar using
the `-j,--jar <JAR file>` option (e.g. with 1.15.2).
```
./bin/sql-client.sh embedded --jar iceberg-flink-runtime-1.16-1.1.0.jar
```
With 1.16.0, this doesn't work anymore. As a result, I am seeing
ClassNotFoundException.
```
java.lang.ClassNotFoundException: org.apache.iceberg.hadoop.HadoopCatalog
```
I have to put the `iceberg-flink-runtime-1.16-1.1.0.jar` file inside the
`flink/lib` directory to make the jar loaded.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)