Hey Josh,

As far as I understand the code CompletedCheckpoint.discard(), Flink is
removing all the files in StateUtil.bestEffortDiscardAllStateObjects, then
deleting the directory.

Which files are left over in your case?
Do you see any exceptions on the TaskManagers?

Best,
Robert

On Wed, Nov 11, 2020 at 12:08 PM Joshua Fan <joshuafat...@gmail.com> wrote:

> Hi
>
> When a checkpoint should be deleted, FsCompletedCheckpointStorageLocation.
> disposeStorageLocation will be called.
> Inside it, fs.delete(exclusiveCheckpointDir, false) will do the delete
> action. I wonder why the recursive parameter is set to false? as the
> exclusiveCheckpointDir is truly a directory. in our hadoop, this causes
> the checkpoint cannot be removed.
> It is easy to change the recursive parameter to true, but is there any
> potential harm?
>
> Yours sincerely
> Josh
>
>

Reply via email to