lightzhao commented on PR #4400: URL: https://github.com/apache/incubator-seatunnel/pull/4400#issuecomment-1482145262
> > > > This is just to delete the directory when commit, and the directory should still exist after the task exits. > > > > > > > > > You mean it shouldn't be deleted? > > > > > > It is only deleted after the commit end, and will be created later, but the directory still exists after the task end, and the temporary directory should be deleted when the task exit. > > Can you give me some implementation hints I don't see how to tell if this task is over I tried to delete the temporary directory in the close method before, but found that the close method will not be called when the task exits. The engine use flink. I have not thought of a better way to solve it. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
