flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yang Wang <danrtsey...@gmail.com>
Subject Re: Automatically Clearing Temporary Directories
Date Wed, 11 Mar 2020 02:17:24 GMT
Hi David,

Currently, the TaskManager could cleanup the non-referenced files in blob
cache. It
could configured via `blob.service.cleanup.interval`[1].
Also when the TaskManager is shut down gracefully, the storage directory
will be deleted.
So do you stop your TaskManager forcibly(i.e. kill -9)?

[1].
https://ci.apache.org/projects/flink/flink-docs-master/ops/config.html#blob-service-cleanup-interval


Best,
Yang

David Maddison <maddisondavid@gmail.com> 于2020年3月11日周三 上午1:39写道:

> Hi,
>
> When a TaskManager is restarted it can leave behind unreferenced
> BlobServer cache directories in the temporary storage that never get
> cleaned up.  Would it be safe to automatically clear the temporary storage
> every time when a TaskManager is started?
>
> (Note: the temporary volumes in use are dedicated to the TaskManager and
> not shared :-)
>
> Thanks in advance,
>
> David.
>

Mime
View raw message