I have a YARN cluster with a master node running resource manager and 2 other nodes. I am able to submit a spark application from a client machine in "yarn-cluster" mode. Is there a way I can configure which node in the cluster launches the Spark application master?
I ask this because if application master launches in master node it works fine but if it starts in other nodes I get this:
Retrying connect to server: 0.0.0.0/0.0.0.0:8030.
and the job is simply accepted and never runs