Client请求ResourceManager运行一个ApplicationMaster实例(step 1);
ResourceManager选择一个NodeManager,启动一个Container并运行ApplicationMaster实例(step 2a、step 2b);
ApplicationMaster根据实际需要向ResourceManager请求更多的Container资源(step 3);
Application Master通过获取到的Container资源执行分布式计算(step 4a、step 4b)。