江山疯宇晴

2013年5月7日

HadoopSourceAnalyse --- Nodemanager Container FSM

摘要: overview上图中还有一个状态变换,从killing 到 Exited_with_failure,这个变换由事件:CONTAINER_EXITED_WITH_FAILURE 触发,执行:ExitedWithFailureTransition;INIT_CONTAINER And RESOURCE_LOCALIZED HandleContainer 收到该事件通知后,会首先偿试启动所有的和当前App 相关的 AuxServices, for (Map.Entry service : csd.entrySet()) { container.dispatcher.getEve... 阅读全文

posted @ 2013-05-07 17:57 江山疯宇晴 阅读(319) 评论(0) 推荐(0) 编辑

HadoopSourceAnalyse --- Nodemanager Container request handler

摘要: OverviewContainer 是Hadoop中运行任务的地方,当Resourcemanager收到一任务请求后,会向nodemanager 请求一个Container 来运行ApplicationMaster, ApplicationMaster运行起来之后,会继续向Resourcemanager请求新的container来运行任务, 当container 完成任务之后,ApplicationMaster会释放相应的container, 当任务完成之后,ApplicationMaster会释放自己 运行的Container;StartContainerRequest handle图 2- 阅读全文

posted @ 2013-05-07 16:28 江山疯宇晴 阅读(151) 评论(0) 推荐(0) 编辑

导航