You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "nastra (via GitHub)" <gi...@apache.org> on 2023/06/15 07:24:03 UTC

[GitHub] [iceberg] nastra commented on issue #7841: spark.table() raises warn: Unclosed S3FileIO instance

nastra commented on issue #7841:
URL: https://github.com/apache/iceberg/issues/7841#issuecomment-1592503374

   The warning is correct and its purpose is to indicate that an instance of `S3FileIO` was opened but never closed. 
   `GlueTableOperations` lazily creates a `FileIO` instance [here](https://github.com/apache/iceberg/blob/d3f1ec31ec795d8c410496a3cb3fd83caca0c59b/aws/src/main/java/org/apache/iceberg/aws/glue/GlueTableOperations.java#L113-L118) but never closes it.
   
   In #7487 we added a `FileIO` closer to the `RESTSessionCatalog`, so I wonder if a similar approach would make sense here as well.
   
   /cc @jackye1995 @amogh-jahagirdar 


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