hadoop NodeManager:

本文详细介绍了Hadoop中NodeManager的功能与内部结构,包括如何向ResourceManager注册及发送心跳消息,管理Container的生命周期及其资源使用情况,并解析了NodeStatusUpdater、ContainerManager等组件的作用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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.链接: 参考资料.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值