Github user StephanEwen commented on the issue:
https://github.com/apache/flink/pull/5740
Okay, seems like the TaskManager design diverged from the "single temp dir"
assumption we had originally.
How about creating the upload dir inside the web temp dir by default (then
it is deleted), but not delete it explicitly (in which case it stays if users
explicitly configure it to a different location)?---
