Siddhesh Kalgaonkar
02/02/2024, 10:23 AMpyflink jobs but the problem I am confronting as of now is, I am able to submit the JAR file (like one from the examples in Flink distribution) but unable to submit the .py files. I tried this command but it fails $ ./bin/flink run --python examples/python/table/word_count.py with error Caused by: java.io.IOException: Cannot run program "python": error=2, No such file or directory
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
at org.apache.flink.client.python.PythonEnvUtils.startPythonProcess(PythonEnvUtils.java:368)
at org.apache.flink.client.python.PythonEnvUtils.launchPy4jPythonClient(PythonEnvUtils.java:482)
at org.apache.flink.client.python.PythonDriver.main(PythonDriver.java:92)
... 14 more
Caused by: java.io.IOException: error=2, No such file or directory
at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
at java.base/java.lang.ProcessImpl.init(ProcessImpl.java:340)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107) I am using Docker image and my job manager and task manager are running fine. So is there any catch here? I followed the official documentation and due to some reasons I have two Python versions in my system: 3.8 and 3.10Tilman Krokotsch
02/05/2024, 8:03 AMSiddhesh Kalgaonkar
02/05/2024, 1:13 PMTilman Krokotsch
02/05/2024, 1:17 PMSiddhesh Kalgaonkar
02/05/2024, 8:49 PM