You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/02/05 18:32:37 UTC
[jira] [Commented] (FLINK-1482) BlobStore does not delete
directories when process is killed
[ https://issues.apache.org/jira/browse/FLINK-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14307612#comment-14307612 ]
ASF GitHub Bot commented on FLINK-1482:
---------------------------------------
GitHub user tillrohrmann opened a pull request:
https://github.com/apache/flink/pull/367
[FLINK-1482] [runtime] Adds shutdown hook to delete blob store directories
Adds shutdown hook to delete blob store directories. This also deletes the blob store files in case that the JVM was terminated.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tillrohrmann/flink fixBlobStoreFileDeletion
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/367.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #367
----
commit e868c0ed39a8f48d74d7315e911f23d5ccab111a
Author: Till Rohrmann <tr...@apache.org>
Date: 2015-02-05T17:29:13Z
[FLINK-1482] [runtime] Adds shutdown hook to delete blob store directories
----
> BlobStore does not delete directories when process is killed
> ------------------------------------------------------------
>
> Key: FLINK-1482
> URL: https://issues.apache.org/jira/browse/FLINK-1482
> Project: Flink
> Issue Type: Bug
> Reporter: Till Rohrmann
>
> The BlobStore (BlobCache + BlobServer) does not delete the blob store directory if it is not properly shutdown. This happens if one kills the process as it is done by Flink's start and stop shell scripts.
> We can solve the problem by registering a shutdown hook to do the cleanup. The shutdown hook has to delete a unique directory which has been created by the blob store.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)