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

    https://github.com/apache/flink/pull/3206#discussion_r97802390
  
    --- Diff: 
flink-core/src/main/java/org/apache/flink/api/common/io/GlobFilePathFilter.java 
---
    @@ -52,8 +53,13 @@
     
        private static final long serialVersionUID = 1L;
     
    -   private final ArrayList<PathMatcher> includeMatchers;
    -   private final ArrayList<PathMatcher> excludeMatchers;
    +   private final List<String> includePatterns;
    +   private final List<String> excludePatterns;
    +
    +   // Path matchers are not serializable so we are delaying their
    +   // creation until they are used
    +   private ArrayList<PathMatcher> includeMatchers;
    --- End diff --
    
    +1 to make them transient - this documents and enforces that


---
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