My customer wants us to install this package in our Flink Cluster: One of our engineers developed a python version: Is there a way to install this in our cluster? -- Robert Cullen 240-475-4490 |
Hi, I'm pulling in Wei Zhong and Xingbo Huang who know PyFlink better. Regards,
Roman On Mon, Feb 22, 2021 at 3:01 PM Robert Cullen <[hidden email]> wrote:
|
Hi Robert,
If you do not want to install the library on every machine of the cluster, the Python dependency management API can be used to upload and use the required dependencies to cluster. For this case, I recommend building a portable python environment that contains all the required dependencies. You can call `add_python_archives` to upload the environment to your and call `set_python_executable` to set the path of the python interpreter in your cluster. For more detailed information, you can refer to the following link. Documentation of the Python dependency management API and configuration: How to build a portable python environment: Best, Wei
|
Wei, Thank you for pointing to those examples. Here is a code sample of how it's configured for me:
But when I run the virtual environment on my cluster I’m getting this error:
``` On Tue, Feb 23, 2021 at 10:10 PM Wei Zhong <[hidden email]> wrote:
-- Robert Cullen 240-475-4490 |
Free forum by Nabble | Edit this page |