You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/03/11 15:32:54 UTC
[GitHub] [flink] StefanRRichter commented on a change in pull request #7942:
[FLINK-11696][checkpoint] Avoid to send mkdir requests to DFS from task side
StefanRRichter commented on a change in pull request #7942: [FLINK-11696][checkpoint] Avoid to send mkdir requests to DFS from task side
URL: https://github.com/apache/flink/pull/7942#discussion_r264288010
##########
File path: flink-runtime/src/main/java/org/apache/flink/runtime/state/memory/MemoryBackendCheckpointStorage.java
##########
@@ -117,6 +122,11 @@ public CheckpointStorageLocation initializeLocationForCheckpoint(long checkpoint
// prepare all the paths needed for the checkpoints
checkState(fileSystem != null);
+ if (!isDirectoryCreated) {
+ fileSystem.mkdirs(checkpointsDirectory);
Review comment:
Comments about some unnecessary IOExceptions apply to some methods in the class as well.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services