Github user dawidwys commented on the issue:
https://github.com/apache/flink/pull/5580
Thanks @zentol for a review.
You are right not supporting it in old cluster mode would be a regression.
As I've first discussed it, there were some doubts if it could work in old mode
(some hypothetical problems with blobs timeouting during submission).
Therefore I started with the RestClusterClient, but as I've had a look today, I
saw no problem with doing it also for old cluster mode.
I've also reverted the cleanup process for `FileCache`.
Please have a look at the updated PR, if you have time. I will also rebase
it shortly.
---