You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Congxian Qiu (JIRA)" <ji...@apache.org> on 2018/11/08 03:47:00 UTC

[jira] [Comment Edited] (FLINK-10346) MemoryStateBackend does not clean up checkpoint directory

    [ https://issues.apache.org/jira/browse/FLINK-10346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16679274#comment-16679274 ] 

Congxian Qiu edited comment on FLINK-10346 at 11/8/18 3:46 AM:
---------------------------------------------------------------

It sounds good that if these subdirectories in HA directory will be deleted after job finished/canceled. I'm interested about this.
 I just found that if we did not enable checkpoint, the `MemoryBackendCheckpointStorage` will create the subdirectories in HA directory also, I just filed a issue about this FLINK-10794


was (Author: klion26):
It sounds good that if these subdirectories in HA directory will be deleted after job finished/canceled. I'm interested about this.
I just found that if we did not enable checkpoint, the `MemoryBackendCheckpointStorage` will create the subdirectories in HA directory also, I just filed a issue about this FLINK-10794(https://issues.apache.org/jira/browse/FLINK-10794)

> MemoryStateBackend does not clean up checkpoint directory
> ---------------------------------------------------------
>
>                 Key: FLINK-10346
>                 URL: https://issues.apache.org/jira/browse/FLINK-10346
>             Project: Flink
>          Issue Type: Bug
>          Components: State Backends, Checkpointing
>    Affects Versions: 1.5.3, 1.6.0, 1.7.0
>            Reporter: Till Rohrmann
>            Priority: Major
>             Fix For: 1.7.0
>
>
> The {{StateBackendLoader}} creates a random subdirectory under {{HighAvailabilityOptions.HA_STORAGE_PATH}} for the {{MemoryStateBackend}} if no checkpointing directory has been specified (see {{StateBackendLoader.java:246}}). The problem is that this directory gets never removed after the {{MemoryStateBackend}} is closed. It is important to clean up these created directories.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)