Flink documentation says "When running a highly available YARN cluster, we don’t run multiple JobManager (ApplicationMaster) instances, but only one, which is restarted by YARN on failures.". Then down below "high-availability: zookeeper".
I don't have experience with yarn, but why do we need to setup zookeeper if Yarn takes care of the restarts and we only have one JobManager? Or is this the zookeeper for resource manager(s)?