flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Syinchwun Leo (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-6106) Blob Server doesn't delete tmp fold when exit in HA mode.
Date Sat, 18 Mar 2017 03:28:42 GMT
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)

Mime
View raw message