Resource Manager : the ultimate authority that arbitrates resources among all the applications in the system. 统筹全局,协调资源分配
Node Manager : the per-machine framework agent who is responsible for containers, monitoring their resource usage (cpu, memory, disk, network) and reporting the same to the ResourceManager/Scheduler.每台机器对应一个NM,监控 Containers 的资源使用情况并报告给RM,定时向RM发送心跳以检查健康状态
ApplicationMaster : per-application ApplicationMaster is, in effect, a framework specific library and is tasked with negotiating resources from the ResourceManager and working with the NodeManager(s) to execute and monitor the tasks.每个应用程序对应一个AM,向RM申请用于执行task的资源,和NM一起监控执行task的运行情况
Container : incorporates elements such as memory, cpu, disk, network etc.