'Flink HA Job Manager exit

I am trying Flink HA with zookeeper quoram of 3. I have deployed 3 Job Managers. When there is a leader election in zookeeper or manually killing of the follower zookeeper process, I saw that my active Job manager also goes down and one of the other 2 job managers become active. In an ideal situation, the active job manager process should not exit. Can anyone help me here..



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source