[
https://issues.apache.org/jira/browse/FLINK-22886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jiayi Liao updated FLINK-22886:
-------------------------------
Description:
{{ExecutorService}} in {{RocksDBStateUploader}} is not shut down, which may
leak thread when tasks fail.
BTW, we should name the thread group in {{ExecutorService}}, otherwise what we
see in the stack, is a lot of threads named with "pool-\{x}-thread-\{y}" like
this:
!image-2021-06-06-13-46-34-604.png!
was:
{{ExecutorService}} in {{RocksDBStateUploader}} is not shut down, which may
leak thread when tasks fail.
BTW, we should name the thread group in {{ExecutorService}}, otherwise what we
see in the stack, is a lot of threads named with "pool-{x}-thread-{y}".
> Thread leak in RocksDBStateUploader
> -----------------------------------
>
> Key: FLINK-22886
> URL: https://issues.apache.org/jira/browse/FLINK-22886
> Project: Flink
> Issue Type: Bug
> Components: Runtime / State Backends
> Affects Versions: 1.11.3, 1.13.1, 1.12.4
> Reporter: Jiayi Liao
> Priority: Major
> Attachments: image-2021-06-06-13-46-34-604.png
>
>
> {{ExecutorService}} in {{RocksDBStateUploader}} is not shut down, which may
> leak thread when tasks fail.
> BTW, we should name the thread group in {{ExecutorService}}, otherwise what
> we see in the stack, is a lot of threads named with "pool-\{x}-thread-\{y}"
> like this:
>
> !image-2021-06-06-13-46-34-604.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)