vineethNaroju commented on issue #2468: URL: https://github.com/apache/iceberg/issues/2468#issuecomment-1500968781
I placed `iceberg-flink-runtime-1.16-1.2.0.jar` in `FLINK_HOME/lib` folder and followed [Hadoop catalog creation doc](https://iceberg.apache.org/docs/latest/flink/#hadoop-catalog). I got the below error - ``` Caused by: java.lang.IllegalArgumentException: Cannot initialize Catalog, org.apache.iceberg.hadoop.HadoopCatalog does not implement Catalog. at org.apache.iceberg.CatalogUtil.loadCatalog(CatalogUtil.java:234) ~[iceberg-flink-runtime-1.16-1.2.0.jar:?] at org.apache.iceberg.flink.CatalogLoader$HadoopCatalogLoader.loadCatalog(CatalogLoader.java:82) ~[iceberg-flink-runtime-1.16-1.2.0.jar:?] at org.apache.iceberg.flink.FlinkCatalog.<init>(FlinkCatalog.java:114) ~[iceberg-flink-runtime-1.16-1.2.0.jar:?] at org.apache.iceberg.flink.FlinkCatalogFactory.createCatalog(FlinkCatalogFactory.java:166) ~[iceberg-flink-runtime-1.16-1.2.0.jar:?] at org.apache.iceberg.flink.FlinkCatalogFactory.createCatalog(FlinkCatalogFactory.java:139) ~[iceberg-flink-runtime-1.16-1.2.0.jar:?] at org.apache.flink.table.factories.FactoryUtil.createCatalog(FactoryUtil.java:413) ~[flink-table-api-java-uber-1.16.0.jar:1.16.0] at org.apache.flink.table.api.internal.TableEnvironmentImpl.createCatalog(TableEnvironmentImpl.java:1426) ~[flink-table-api-java-uber-1.16.0.jar:1.16.0] at org.apache.flink.table.api.internal.TableEnvironmentImpl.executeInternal(TableEnvironmentImpl.java:1172) ~[flink-table-api-java-uber-1.16.0.jar:1.16.0] at org.apache.flink.table.client.gateway.local.LocalExecutor.executeOperation(LocalExecutor.java:206) ~[flink-sql-client-1.16.0.jar:1.16.0] ... 10 more ``` Thank you @leichangqing, your advice worked (just running sql-client without `-j`). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
