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
未完待续