TCGOGOGO commented on issue #9072: URL: https://github.com/apache/iceberg/issues/9072#issuecomment-1822265704
> Hey @TCGOGOGO Can you provide a bit more context here? The Hadoop Catalog and Rest Catalog are two different catalogs, and they should not be combined. Hi Fokko, thanks for the reply :-) Firstly, I am not sure if I do understand the exact usage of Rest Catalog, I believe that the Rest Catalog can wrap any existing Iceberg catalog implementation right? And I also refer to this peice of code, just replace the CATALOG IMPL from JdbcCatalog to HadoopCatalog (and the corresponding settings) ``` // Fallback to a JDBCCatalog impl if one is not set catalogProperties.putIfAbsent( CatalogProperties.CATALOG_IMPL, "org.apache.iceberg.jdbc.JdbcCatalog"); catalogProperties.putIfAbsent( CatalogProperties.URI, "jdbc:sqlite:file:/tmp/iceberg_rest_mode=memory"); // Configure a default location if one is not specified String warehouseLocation = catalogProperties.get(CatalogProperties.WAREHOUSE_LOCATION); ``` see. https://github.com/tabular-io/iceberg-rest-image/blob/master/src/main/java/org/apache/iceberg/rest/RESTCatalogServer.java -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org