You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Syinchwun Leo (JIRA)" <ji...@apache.org> on 2017/03/18 03:28:42 UTC

[jira] [Created] (FLINK-6106) Blob Server doesn't delete tmp fold when exit in HA mode.

Syinchwun Leo created FLINK-6106:
------------------------------------

             Summary: Blob Server doesn't delete tmp fold when exit in HA mode.
                 Key: FLINK-6106
                 URL: https://issues.apache.org/jira/browse/FLINK-6106
             Project: Flink
          Issue Type: Wish
          Components: JobManager
    Affects Versions: 1.2.0
            Reporter: Syinchwun Leo


When start in HA mode, Blob server does not put itself in shutdown hook. Line 158-164 
if (highAvailabilityMode == HighAvailabilityMode.NONE) {
	// Add shutdown hook to delete storage directory
	this.shutdownHook = BlobUtils.addShutdownHook(this, LOG);
}
else {
	this.shutdownHook = null;
}

That means, when kill the application in YARN, tmp fold will not be deleted.  What the propose of this design?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)