Github user StefanRRichter commented on the issue:
https://github.com/apache/flink/pull/3801
@gyfora this is already happening in the code: the backend tracks which
files are already transferred to hdfs, and a reference counting in the
checkpoint coordinator (introduced in FLINK-6014) takes care of deleting
SSTable files from the shared HDFS directory that are no longer referenced by
any incremental checkpoint.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---