Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-35208

Respect pipeline.cached-files during processing Python dependencies

    XMLWordPrintableJSON

Details

    Description

      Currently, PyFlink will make use of distributed cache (StreamExecutionEnvironment#cachedFiles) during handling the Python dependencies(See https://github.com/apache/flink/blob/master/flink-python/src/main/java/org/apache/flink/python/util/PythonDependencyUtils.java#L339 for more details). 

      However, if pipeline.cached-files is configured, it will clear StreamExecutionEnvironment#cachedFiles(see https://github.com/apache/flink/blob/master/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/environment/StreamExecutionEnvironment.java#L1132 for more details) which may break the above functionalities.

      Attachments

        Issue Links

          Activity

            People

              dianfu Dian Fu
              dianfu Dian Fu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: