您的位置:首页 > 其它

Ambari-server源码分析(一):Agent组件

2015-10-20 18:02 489 查看
REST---->AgentResource----->HeartBeatHander

1,AgentResource

Agent Resource represents Ambari agent controller.
It provides API for Ambari agents to get the cluster configuration changes
as well as report the node attributes and state of services running the on
the cluster nodes

AgentResource提供处理Agent请求的REST接口

2,HeartBeatHander

This class handles the heartbeats coming from the agent, passes on the information
to other modules and processes the queue to send heartbeat response.

HeartBeatHander提供真正的处理服务,并将响应结果返回给AgentResource

未完待续
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: