Uploaded image for project: 'Flink'
  1. Flink
  2. 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.

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            zhongwei Wei Zhong
            zhongwei Wei Zhong
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m