Re: Flink not releasing the reference to a deleted jar file

2023-04-19 Thread neha goyal
Hi Shammon, The Flink job doesn't exist after I close the execution environment right? Can you please try the attached code and see that I am not sharing the file with any other job? Until I close the running Java application the file still has an open reference in the code mentioned. On Thu, Apr

Re: Flink not releasing the reference to a deleted jar file

2023-04-19 Thread Shammon FY
Hi neha Flink can delete runtime data for a job when it goes to termination. But for external files such as udf jar files as you mentioned, I think you need to manage them yourself. The files may be shared between jobs, and can not be deleted when one flink job exists. Best, Shammon FY On Wed,

Re: Flink not releasing the reference to a deleted jar file

2023-04-18 Thread neha goyal
Adding to the above query, I have tried dropping the tables and the function as well but no luck. On Wed, Apr 19, 2023 at 11:01 AM neha goyal wrote: > Hello, > > I am attaching a sample code and screenshot where Flink is holding the > reference to a jar file even after I close the streamExecutio

Flink not releasing the reference to a deleted jar file

2023-04-18 Thread neha goyal
Hello, I am attaching a sample code and screenshot where Flink is holding the reference to a jar file even after I close the streamExecutionEnvironment. Due to this, the deleted file is not getting cleaned up from the disk and we are getting disc space alerts. When we restart our application then