You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "RussellSpitzer (via GitHub)" <gi...@apache.org> on 2023/03/08 03:53:39 UTC
[GitHub] [iceberg] RussellSpitzer commented on issue #7034: Hive ping functionality seems to leak threads
RussellSpitzer commented on issue #7034:
URL: https://github.com/apache/iceberg/issues/7034#issuecomment-1459367381
Quick check, are you sure all your HiveTableOperations objects are being finalized? The SingleThreadedExecutor service should get shut down during the finalizer as long as there are no running tasks (which there shouldn't be after the commit is done)
```java
public static ExecutorService newSingleThreadExecutor() {
return new FinalizableDelegatedExecutorService
(new ThreadPoolExecutor(1, 1,
0L, TimeUnit.MILLISECONDS,
new LinkedBlockingQueue<Runnable>()));
```
--
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