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/12 16:57:57 UTC

[GitHub] [iceberg] springle edited a comment on issue #1502: HiveClientPool closed by HiveCatalog blocks table operations

springle edited a comment on issue #1502:
URL: https://github.com/apache/iceberg/issues/1502#issuecomment-797603522


   From what I can understand, the child `Table` object is created with the catalog before [initializing the Spark writer](https://github.com/apache/iceberg/blob/master/spark2/src/main/java/org/apache/iceberg/spark/source/IcebergSource.java#L93), and then the reference to the catalog is lost (and sometimes GC'd, closing the connection pool in Hive's case). Who should own this reference - the `IcebergSource`, the `Writer`?
   
   EDIT: nevermind, looks like https://github.com/apache/iceberg/pull/2325 will resolve this!


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