You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Wei Zhong (Jira)" <ji...@apache.org> on 2020/04/13 08:10:00 UTC

[jira] [Created] (FLINK-17114) When the pyflink job runs in local mode and the command "python" points to Python 2.7, the startup of the Python UDF worker will fail.

Wei Zhong created FLINK-17114:
---------------------------------

             Summary: When the pyflink job runs in local mode and the command "python" points to Python 2.7, the startup of the Python UDF worker will fail.
                 Key: FLINK-17114
                 URL: https://issues.apache.org/jira/browse/FLINK-17114
             Project: Flink
          Issue Type: Bug
    Affects Versions: 1.10.0, 1.11.0
            Reporter: Wei Zhong


When the PyFlink job runs in local mode and the command "python" points to Python 2.7, the startup of the Python UDF worker will fail because "python" is the default interpreter of the Python UDF worker. For this case we need to set the default value of "python.executable" to `sys.executable` i.e. the python interpreter which launches the job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)