tillrohrmann commented on a change in pull request #10550: [FLINK-15194]
Support registering directory as cache file in Yarn per-job mode
URL: https://github.com/apache/flink/pull/10550#discussion_r357708778
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/filecache/FileCache.java
##########
@@ -306,6 +308,9 @@ public Path call() throws IOException {
// let exceptions propagate. we can retrieve them later
from
// the future and report them upon access to the result
FileUtils.copy(filePath, cachedPath, this.executable);
+ if (isDirectory) {
Review comment:
```suggestion
if (isZipped) {
```
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services