Description
It's possible to deadlock a cluster by submitting many applications at once, and have all cluster resources taken up by AMs.
One solution is for the scheduler to limit resources taken up by AMs, as a percentage of total cluster resources, via a "maxApplicationMasterShare" config.