when you build a spark standalone ha cluster, when you submit your app, you should send it to the leader master, not the standby master, how to decided the status of the two masters? a simple way, not judge the status which master is the active, you…