nvm, i setup HA wrong. Now it is running with only 112 task managers with the correct setup.
Thanks. On Fri, Oct 1, 2021 at 11:46 AM Rommel Holmes <rommelhol...@gmail.com> wrote: > Hi, > > I had one Flink job running on K8s with 1 job manager and 112 task > managers with slot number 1. The job can run without any issue. > > After I setup HA > <https://nightlies.apache.org/flink/flink-docs-release-1.13/docs/deployment/ha/kubernetes_ha/>on > the job with 2 job managers, I noticed that the task managers numbers in > the UI is 54 instead of 112. And the job would not start running with error > msg. > > java.util.concurrent.CompletionException: > org.apache.flink.runtime.jobmanager.scheduler.NoResourceAvailableException: > Could not acquire the minimum required resources. > > > So I double the task managers to 224, then the UI shows 117 task managers > with 5 empty slots, and the job runs again. > > So the question is that when I setup HA, I also need to double the task > manager/resource? I don't think it is mentioned anywhere in the doc, so did > I setup HA wrong? Can someone share some input on this? > > Thank you. > > Rommel > > -- > Yours > Rommel > > -- Yours Rommel ************************************* I waited patiently for the LORD; he turned to me and heard my cry. He lifted me out of the slimy pit, out of the mud and mire; he set my feet on a rock and gave me a firm place to stand. *************************************