Ricardo Cordeiro
01/23/2025, 2:16 PMCaused by: org.apache.flink.runtime.rest.handler.RestHandlerException: Jar file /tmp/flink-web-xxx/flink-web-upload/xxx_flink-1.0-SNAPSHOT.jar does not exist
Our setup has 3 Flink Operator pods for HA (version 1.10), as well as 3 JobManager pods for HA.
I noticed that most of the time I get this error, however once in a while the job is actually submitted with no problems.
Doing some debugging I realised that reducing the number of JobManager replicas to 1 solves the problem.
My guess is this happens because somehow the operator submits the job jar file to a JobManager that isn’t the leader, but for now this is just guessing. Anyone ever experienced something similar or is this just some bad configuration?Ricardo Cordeiro
01/23/2025, 2:17 PM...
replicas: 3
defaultconfiguration:
...
flink-conf.yaml: |+
kubernetes.operator.leader-election.enabled:true
kubernetes.operator.leader-election.lease-name:flink-operator-lease
...
Relevant JobManager configuration:
flinkConfiguration:
...
state.savepoints.dir: file:///flink-data/savepoints
state.checkpoints.dir: file:///flink-data/checkpoints
high-availability.type: kubernetes
high-availability.storageDir: file:///flink-data/ha
...Manojit Roy
01/23/2025, 2:49 PMRicardo Cordeiro
01/23/2025, 2:58 PMTrystan
01/23/2025, 5:38 PMRicardo Cordeiro
01/23/2025, 7:04 PM