Do anyone here faced this issue before and if yes ...
# pyflink
a
Do anyone here faced this issue before and if yes how do you fix it ?
2025-11-25 06:52:49,891 INFO  org.apache.flink.client.python.PythonDriver                  [] - Caused by: java.io.FileNotFoundException: /tmp/flink-web-4fdf7852-6e79-46a2-984e-5c4b6d34d963/flink-web-upload/3b0079a9-aa85-4abc-b23f-597a0e085182_empty.jar (No such file or directory)
d
@afnan amin Have no idea how this happens. Could you share how you submit the job?
a
i am submitting the job through kind: FlinkSessionJob using eks
Copy code
job:
  entryClass: "org.apache.flink.client.python.PythonDriver"
j
Our team encountered the same problem previously. I am assuming you are using PyFlink. What we did is to download the
flink-python
JAR as part of the Flink image build. This will solve the missing JAR issue. And then, you need to upgrade Flink to version 1.20 + and make sure the Python script was available inside the JobManager pod which will solve the missing Python file issue.
a
Hi @Jason Li thank you can you please share me that
flink-python
jar
Copy code
"file:///opt/flink/iceberg/iceberg-flink-runtime-2.0-1.10.0.jar",
"file:///opt/flink/iceberg/iceberg-aws-bundle-1.10.0.jar",
"file:///opt/flink/plugins/s3-fs-hadoop/flink-sql-parquet-2.0.0.jar",
"file:///opt/flink/plugins/s3-fs-hadoop/flink-s3-fs-hadoop-2.0.0.jar",
I am using these jars right now
j
Copy code
# Download connector libraries for Flink 1.20.3
RUN echo "-> Install JARs: Flink connectors" && \
    wget -P /opt/flink/lib/ https://repo1.maven.org/maven2/org/apache/flink/flink-python/1.20.3/flink-python-1.20.3.jar
a
Perfect thank you let me try
Copy code
2025-11-25 17:21:25,111 INFO  org.apache.flink.client.python.PythonDriver                  [] - Caused by: java.io.FileNotFoundException: /mnt/efs/flink-web-upload/flink-web-63fa287b-32d5-4be3-b663-bbe8e62c2880/flink-web-upload/26db1b0f-b14d-451c-962a-2586f77b3b69_empty.jar (No such file or directory)
✅ 1
still getting the same error
j
We’re also using Flink Operator
1.13.0
. If we’re on the same version, I’m not sure why you’re still seeing the issue, but that approach is what solved it for us. You could also try using
jarURI
to explicitly specify the JAR path. Beyond that, sorry I have no other idea. It might be our deployment setup is different.
a
thank you jason i am using flink operator 1.12.1 version let me update the version too .