title: Flink with zookeeper: Service temporarily unavailable due to an ongoing leader election. Please refresh
body: <p>I want to run the flink cluster with High-availability mode. Hence I have made the setting as per <a href="https://ci.apache.org/projects/flink/flink-docs-release-1.3/setup/jobmanager_high_availability.html" rel="nofollow noreferrer">JobManager High Availability</a> into flink configuration files. When I start the zookeeper quorum by using <code>start-zookeeper-quorum.sh</code>, I am able to start two zookeerper servers(peers) on two machines. but when I start the flink cluster with 2 JobManagers, I get the message as <code>Service temporarily unavailable due to an ongoing leader election. Please refresh.</code> on web UI of flink.</p>
  
  <p>What does this massage means? Is there a way to notify the leader in configuration file? </p>