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)