Configuring the Python environment for SQL Stream Builder
Starting in Cloudera Streaming Analytics 1.16.0, the Python User Defined Functions (UDF) functionality is enabled by default. Cloudera Manager and the related Cloudera Streaming Analytics scripts automatically configure the Python environment and install the necessary Python modules during the upgrade process.
However, manual configuration is required in the following scenario:
- Custom Python Environments: If you have a custom-configured Python environment, Cloudera Manager does not overwrite your modified configuration parameters during the upgrade. You must manually update the Python paths to point to the new environment.
Manual configuration steps
If your environment meets the criteria above, perform the following steps to ensure the Python runtime is correctly configured for Cloudera SQL Stream Builder.
To ensure Cloudera SQL Stream Builder uses the correct Python version (Python 3.11), you must reset the executable paths in Cloudera Manager.
After updating the roles, you must deploy the client configuration to trigger the installation of the PyFlink Python module.
