[ https://issues.apache.org/jira/browse/FLINK-10346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16679274#comment-16679274 ]
Congxian Qiu commented on FLINK-10346: -------------------------------------- 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)