[ https://issues.apache.org/jira/browse/FLINK-30035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Zhen Wu updated FLINK-30035: ----------------------------------- Description: 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). {code} ./bin/sql-client.sh embedded --jar iceberg-flink-runtime-1.16-1.1.0.jar {code} With 1.16.0, this doesn't work anymore. As a result, I am seeing ClassNotFoundException. {code} java.lang.ClassNotFoundException: org.apache.iceberg.hadoop.HadoopCatalog {code} 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. was: 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. > ./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 > Priority: Major > > 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). > {code} > ./bin/sql-client.sh embedded --jar iceberg-flink-runtime-1.16-1.1.0.jar > {code} > With 1.16.0, this doesn't work anymore. As a result, I am seeing > ClassNotFoundException. > {code} > java.lang.ClassNotFoundException: org.apache.iceberg.hadoop.HadoopCatalog > {code} > 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)