You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Dian Fu (Jira)" <ji...@apache.org> on 2024/04/28 07:41:00 UTC

[jira] [Closed] (FLINK-35208) Respect pipeline.cached-files during processing Python dependencies

     [ https://issues.apache.org/jira/browse/FLINK-35208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dian Fu closed FLINK-35208.
---------------------------
    Fix Version/s: 1.20.0
       Resolution: Fixed

Merged to master via 0f01a0e9a6856781d5a0e33b26172bb913ec1928

> Respect pipeline.cached-files during processing Python dependencies
> -------------------------------------------------------------------
>
>                 Key: FLINK-35208
>                 URL: https://issues.apache.org/jira/browse/FLINK-35208
>             Project: Flink
>          Issue Type: Bug
>          Components: API / Python
>            Reporter: Dian Fu
>            Assignee: Dian Fu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.20.0
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)