0:mr程序提交到客户端所在的节点
1:客户端向resourceManager申请一个application
2:resourceManager向客户端返回application的资源提交路径和application_id
3:客户端向指定的路径提交job运行所需的资源,路径为hdfs://..../stating/application_id和文件切片,程序jar包和job的配置文件
4:客户端向recourceManager报告资源提交完毕,申请运行MRappmaster
5:recourceManager将用户的请求初始化为一个task
6:nodemanager领取该task
7:nodemanager创建容器container,运行MRappmaster
8:nodemanager下载job资源到本地
9:nodemanager向recourceManager申请运行maptask容器
10:nodemanager领取到任务,创建容器
11:MRappmaster向Matask所在的nodemanager发送启动脚本
12:MRappmaster向recourcemanager申请recudeTask容器
13:reduceTask向相应的maptask拉去相应的分区数据
14:程序运行完,Mr会向RM注销自己