Github user StephanEwen commented on the issue:
https://github.com/apache/flink/pull/5740
The TaskManagers have one (or more) root directories for all temp files.
They only have one shutdown hook that removes them at the very end. No separate
hooks in the separate components.
Should we try and have the same in the JobManager?
Aside form that, I think previously users liked that the jar upload
directory was not cleaned by default when they explicitly configured it. Does
this change preserve the behavior?
---