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/03/10 23:38:00 UTC

[GitHub] [iceberg] johnclara opened a new issue #2318: Basemetastore Name StackOverflow

johnclara opened a new issue #2318:
URL: https://github.com/apache/iceberg/issues/2318


   Catalog's default name() calls toString:
   https://github.com/apache/iceberg/blob/master/api/src/main/java/org/apache/iceberg/catalog/Catalog.java#L44
   
   BaseMetastoreCatalog's toString calls name:
   https://github.com/apache/iceberg/blob/master/core/src/main/java/org/apache/iceberg/BaseMetastoreCatalog.java#L149
   
   Without overrides, results in:
   ```
           java.lang.StackOverflowError
               at org.apache.iceberg.BaseMetastoreCatalog.toString(BaseMetastoreCatalog.java:149)
               at org.apache.iceberg.catalog.Catalog.name(Catalog.java:44)
               at org.apache.iceberg.BaseMetastoreCatalog.toString(BaseMetastoreCatalog.java:149)
               at org.apache.iceberg.catalog.Catalog.name(Catalog.java:44)
   ```
   
   Is this expected?


----------------------------------------------------------------
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] openinx commented on issue #2318: Basemetastore Name StackOverflow

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


   @johnclara  Thanks for reporting this,  I think it's a bug need to be fixed.  Would you like to prepare a PR for this ?  Thanks.


----------------------------------------------------------------
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] rdblue closed issue #2318: Basemetastore Name StackOverflow

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


   


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