I had set up a HA cluster, using two masters. Starting dfs works correctly, starting the journalnode,DFSZKFailover, quorumpeermain, and namenode processes without errors. However, when starting YARN, the resource manager process is only started on one master. I am able to manually start the YARN process on the second master. I have checked my configuration file yarn-site.xml and am unable to find the problem. I am attaching my yarn-site.xml file. Thank you.