You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "jackylau (Jira)" <ji...@apache.org> on 2022/10/19 07:30:00 UTC
[jira] [Commented] (FLINK-29479) Support whether using system PythonPath for PyFlink jobs
[ https://issues.apache.org/jira/browse/FLINK-29479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17620058#comment-17620058 ]
jackylau commented on FLINK-29479:
----------------------------------
After researching spark, it does not rely on system environment variables. Through careful offline communication with [~hxb] , we reached an agreement to use this parameter to decide whether to retain system environment variables
@Experimentalpublic static final ConfigOption<Boolean> PYTHON_SYSTEMENV_ENABLED =
ConfigOptions.key("python.systemenv.enabled ")
.booleanType()
.defaultValue(true)
.withDescription("Whether uses system env in python.");
> Support whether using system PythonPath for PyFlink jobs
> --------------------------------------------------------
>
> Key: FLINK-29479
> URL: https://issues.apache.org/jira/browse/FLINK-29479
> Project: Flink
> Issue Type: Improvement
> Components: API / Python
> Reporter: jackylau
> Priority: Major
> Fix For: 1.17.0
>
>
> It exists PYTHONPATH env in system,like yarn/k8s images, it will cause conflict with users python depdendency sometimes. so i suggest add a config to do whether using system env of PYTHONPATH
--
This message was sent by Atlassian Jira
(v8.20.10#820010)