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 2021/01/24 19:53:29 UTC

[GitHub] [iceberg] ismailsimsek opened a new issue #2144: Hadoop catalog missing no-arg constructor

ismailsimsek opened a new issue #2144:
URL: https://github.com/apache/iceberg/issues/2144


   Hadoop catalog missing no-arg constructor, CatalogUtil.loadCatalog code giving following error meesage
   
   ```
   icebergCatalog = CatalogUtil.loadCatalog(catalogImpl, "iceberg", icebergProperties, hadoopConf);
   ```
   
   ```
   Caused by: java.lang.IllegalArgumentException: Cannot initialize Catalog, missing no-arg constructor: hadoop
   	at org.apache.iceberg.CatalogUtil.loadCatalog(CatalogUtil.java:157)
   	at io.debezium.server.iceberg.IcebergChangeConsumer.connect(IcebergChangeConsumer.java:102)
   ```


----------------------------------------------------------------
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.

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


[GitHub] [iceberg] ismailsimsek commented on issue #2144: Hadoop catalog missing no-arg constructor

Posted by GitBox <gi...@apache.org>.
ismailsimsek commented on issue #2144:
URL: https://github.com/apache/iceberg/issues/2144#issuecomment-766423713


   my bad, 
   
   i wasn't using it right, `catalogImpl` should be class name instead of `hadoop`
   
   ```
   icebergCatalog = CatalogUtil.loadCatalog("org.apache.iceberg.hadoop.HadoopCatalog", "iceberg", icebergProperties, hadoopConf);
   ```
   
   


----------------------------------------------------------------
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.

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


[GitHub] [iceberg] ismailsimsek closed issue #2144: Hadoop catalog missing no-arg constructor

Posted by GitBox <gi...@apache.org>.
ismailsimsek closed issue #2144:
URL: https://github.com/apache/iceberg/issues/2144


   


----------------------------------------------------------------
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.

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


[GitHub] [iceberg] ismailsimsek closed issue #2144: Hadoop catalog missing no-arg constructor

Posted by GitBox <gi...@apache.org>.
ismailsimsek closed issue #2144:
URL: https://github.com/apache/iceberg/issues/2144


   


----------------------------------------------------------------
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.

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


[GitHub] [iceberg] ismailsimsek commented on issue #2144: Hadoop catalog missing no-arg constructor

Posted by GitBox <gi...@apache.org>.
ismailsimsek commented on issue #2144:
URL: https://github.com/apache/iceberg/issues/2144#issuecomment-766423713


   my bad, 
   
   i wasn't using it right, `catalogImpl` should be class name instead of `hadoop`
   
   ```
   icebergCatalog = CatalogUtil.loadCatalog("org.apache.iceberg.hadoop.HadoopCatalog", "iceberg", icebergProperties, hadoopConf);
   ```
   
   


----------------------------------------------------------------
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.

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