[
https://issues.apache.org/jira/browse/FLINK-6106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nico Kruber updated FLINK-6106:
-------------------------------
Component/s: Distributed Coordination
> 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: Distributed Coordination, JobManager, Network
> Affects Versions: 1.2.0
> Reporter: Syinchwun Leo
> Fix For: 1.3.0
>
>
> 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.4.14#64029)