Has anybody else running HA JobManagers in Kuberne...
# troubleshooting
a
Has anybody else running HA JobManagers in Kubernetes been hit with scenarios where the job fails because the JobManager changes and the TaskManager can't handle it? I keep getting hit with this:
org.apache.flink.util.FlinkException: Disconnect from JobManager responsible for a5122542b3ec1be1493ee2c1d2c12088.
Caused by: java.lang.Exception: Found new job leader for job id a5122542b3ec1be1493ee2c1d2c12088.
It doesn't even trigger the restart-policy. It just flat out fails my job
a
πŸ‘‹ What is the version of the Flink do you run here? Which HA provider do you use? Zookeeper or K8s?
a
@Alex Nitavsky Version 1.18. Using k8s for HA. Using Rocksdb and the Flink Operator.
The JM gets OOM killed, and sometimes the TM successfully reconnects to the standby JM, and sometimes it totally fails the job without hitting the restart-policy and reports the log above.
a
could you please elaborate a bit more? What is the consequence to your job: Is job restarted? Is job in fail loop? Because in worst case if due to the bug TM cannot connect to JM they will be restarted, which would enlarge the downtime