江山疯宇晴

2013年5月22日

HadoopSourceAnalyse --- Mapreduce ApplicationMaster TaskAttempt FSM

摘要: OverviewTaskAttempt 对像将是我们的task最后真正执行的地方,前面的所有的工作都是为了让我们的Attempt服务, 在Attempt被创建出来之后,Attemp开始等待SChedule 或ReSchedule 事件, 该事件将由Taskimpl对像触发。图 1-1T_SCHEDULE AND T_RESCHEDULE Handle当Attempt收到该 事件后,Attempt首先通知所有Speculator 将要申请 container, 然后 向 ContainerAlloctor 申请container来运行当前的task: // Tell any speculator 阅读全文

posted @ 2013-05-22 13:43 江山疯宇晴 阅读(211) 评论(0) 推荐(0) 编辑

导航