Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/6147#discussion_r195035910
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/filecache/FileCache.java
---
@@ -253,13 +249,13 @@ public void releaseJob(JobID jobId,
ExecutionAttemptID executionId) {
private static class CopyFromBlobProcess implements Callable<Path> {
private final PermanentBlobKey blobKey;
- private final Path target;
+ private final File target;
private final boolean isDirectory;
private final boolean isExecutable;
private final JobID jobID;
private final PermanentBlobService blobService;
- CopyFromBlobProcess(DistributedCacheEntry e, JobID jobID,
PermanentBlobService blobService, Path target) throws Exception {
+ CopyFromBlobProcess(DistributedCacheEntry e, JobID jobID,
PermanentBlobService blobService, File target) throws Exception {
this.isExecutable = e.isExecutable;
this.isDirectory = e.isZipped;
--- End diff --
Can't normal files be also zipped (e.g. text files)?
---