[
https://issues.apache.org/jira/browse/FLINK-30277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17683114#comment-17683114
]
Danny Cranmer commented on FLINK-30277:
---------------------------------------
Done
> Allow PYTHONPATH of Python Worker configurable
> ----------------------------------------------
>
> Key: FLINK-30277
> URL: https://issues.apache.org/jira/browse/FLINK-30277
> Project: Flink
> Issue Type: Improvement
> Components: API / Python
> Affects Versions: 1.16.0
> Reporter: Prabhu Joseph
> Assignee: Samrat Deb
> Priority: Major
> Labels: pull-request-available
>
> Currently, below are the ways Python Worker gets the Python Flink
> Dependencies.
> # Worker Node's System Python Path (/usr/local/lib64/python3.7/site-packages)
> # Client passes the python Dependencies through -pyfs and --pyarch which is
> localized into PYTHONPATH of Python Worker.
> # Client passes the requirements through -pyreq which gets installed on
> Worker Node and added into PYTHONPATH of Python Worker.
> This Jira intends to allow PYTHONPATH of Python Worker configurable where
> Admin/Service provider can install the required python flink depencies on a
> custom path (/usr/lib/pyflink/lib/python3.7/site-packages) on all Worker
> Nodes and then set the path in the client machine configuration
> flink-conf.yaml. This way it works without any configurations from the
> Application Users and also without affecting any other components dependent
> on System Python Path.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)