[Fix][Engine-Server] close task when job finished to release resource.#8610
[Fix][Engine-Server] close task when job finished to release resource.#8610sohurdc wants to merge 1 commit intoapache:devfrom
Conversation
| return Optional.empty(); | ||
| } | ||
|
|
||
| default void close() {} |
There was a problem hiding this comment.
We don't add close method before because Flink/Spark doesn't has close method too. If we add close method on seatunnel api. Flink/Spark can not invoke it for now.
|
Have you tried enable |
|
It is enabled, but there are still memory leaks in FileSystem$CACHE and HiveConf. I still have the problem of off-heap memory leak. I can't find the reason. I suspect it is related to the FileSystem not being closed. |
Maybe you can provide your server log and heap dump file in new issue so we can help to loc the root problem. |
|
see there, #8637. |
Purpose of this pull request
close resource when job finished.

the class SeaTunnelChildFirstClassLoader refered by FileSystem$Cache which not close when job finished.
Does this PR introduce any user-facing change?
no
How was this patch tested?
no, i will add it later after reviewd.
Check list
New License Guide
release-note.