05 2017 档案

摘要:一、概述: 根据 Ambari Server 架构 文章中的介绍,由于 Ambari Server 和 Ambari Agent 之间是通过 HTTP 短连接进行通信,所以 Server 无法把需要执行的 Command,直接推送给 Agent,而是需要把命令存储在 ActionQueue 中, 然 阅读全文
posted @ 2017-05-11 16:22 basenet855x 阅读(1726) 评论(0) 推荐(0)
摘要:一、前端通过 Rest 接口提交配置修改请求: 接口:[PUT] /api/v1/clusters/{clustername} 请求: 二、服务端操作数据库1、clusterconfig 表记录(参考 Ambari Server 配置多版本功能实现分析)2、serviceconfig 表记录(参考 阅读全文
posted @ 2017-05-08 13:20 basenet855x 阅读(3787) 评论(0) 推荐(0)
摘要:配置组是为了实现不同主机、不同配置这个功能。 配置组 表关系图: configgroup:配置组的基本信息 configgrouphostmapping:配置组对应的主机 confgroupclusterconfigmapping: 配置组对应的配置 clusterconfig:配置文件表 举一个例 阅读全文
posted @ 2017-05-08 11:35 basenet855x 阅读(905) 评论(0) 推荐(0)
摘要:配置多版本 表关系图: serviceconfig:服务配置表,version 最大的那条记录为 当前生效的配置 clusterconfig:配置文件表 serviceconfigmaping:服务和配置文件的对应关系表 举一个例子: serviceconfig 表: serviceconfigma 阅读全文
posted @ 2017-05-08 11:31 basenet855x 阅读(1594) 评论(0) 推荐(0)