LD is tigger forever,CG are not brothers forever, throw the pot and shine forever.
Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, and stay away from poor people.
talk is cheap, show others the code,Keep progress,make a better result.
Survive during the day and develop at night。
目录
概述
hadoop NodeManager:
Node节点下的Container管理
1.启动时向ResourceManager注册并定时发送心跳消息,等待ResourceManger的指令
2.监控Container的运行,维护Container的生命周期,监控COntainer的资源使用情况
3.启动或停止container,管理任务运行时的依赖包(根据APPlicationMaster的需要,启动Container之前将需要的程序以及依赖包,配置文件等COPY到本地)
内部结构:
NodeStatusUpdater:启动向resourceManager注册,报告该节点的可用资源情况,通信的端口和后续的状态的维护
ContinaerManger:接收RPC请求(启动停止),资源本地化(下载应用需要的资源的到本地,根据需要共享这些资源):
PUBLIC:/filecache
PRIVATE:/usercache/filecache
APPLICATION:/usercache/appcache//
ContainersLauuncher:加载或终止container
Containermonitor:监控Container的运行和资源使用情况
ContainerExecutor::和底层操作系统交互,加载要运行的程序
小结:
参考资料和推荐阅读
1.链接: 参考资料.