You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/03/26 22:34:25 UTC

[GitHub] [iceberg] samredai edited a comment on issue #4410: HadoopFileIO + JdbcCatalog: null pointer when creating table

samredai edited a comment on issue #4410:
URL: https://github.com/apache/iceberg/issues/4410#issuecomment-1079787229


   Hah, I made this issue too quickly. Using the `setConf` method on `JdbcCatalog` solves this (I was using the interface as the type which is why I missed it).
   ```java
   import org.apache.hadoop.conf.Configuration;
   ...
   
   JdbcCatalog catalog = new JdbcCatalog();
   Configuration conf = new Configuration();
   catalog.setConf(conf)
   catalog.initialize("demo", properties);
   ```


-- 
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-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org