Github user zentol commented on a diff in the pull request:

    https://github.com/apache/flink/pull/970#discussion_r36512933
  
    --- Diff: 
flink-core/src/main/java/org/apache/flink/api/common/operators/CollectionExecutor.java
 ---
    @@ -501,4 +536,22 @@ public int getSuperstepNumber() {
                        return (T) previousAggregates.get(name);
                }
        }
    +
    +   private static final class DoingNothing implements Callable<Path>{
    +           private Path entry;
    +
    +           public DoingNothing(Path entry){
    +                   this.entry = entry;
    +           }
    +
    +           @Override
    +           public Path call() throws IOException{
    +                   try{
    +                           LocalFileSystem fs = (LocalFileSystem) 
entry.getFileSystem();
    +                           return entry.isAbsolute() ? new 
Path(entry.toUri().getPath()): new Path(fs.getWorkingDirectory(),entry);
    +                   } catch (ClassCastException e){
    +                           throw new RuntimeException("Collection 
execution must have only local file paths");
    --- End diff --
    
    dislike this error message, there's is no apparent relation to the 
distributed cache. 
    how about "The DistrbutedCache only supports local files for Collection 
Environments."


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to