摘要: template是字符串 template存放在json文本中 然后我们需要定义一个dict 渲染脚本 阅读全文
posted @ 2018-11-30 18:54 wyett 阅读(6184) 评论(1) 推荐(0) 编辑
摘要: 1.zookeeper报错 2017-12-13 16:47:55,968 [myid:] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@975] - Opening socket connection to server 阅读全文
posted @ 2017-12-29 19:27 wyett 阅读(2380) 评论(0) 推荐(0) 编辑
摘要: <name>hbase.rootdir</name><value>hdfs://appcluster/hbase</value> #hbase集群有single-node/Pseudo-Distributed /Advanced - Fully三种模式<name>hbase.cluster.dist 阅读全文
posted @ 2017-09-05 18:58 wyett 阅读(1307) 评论(0) 推荐(0) 编辑
摘要: Hbase集群架构 组件 client API:对外提供访问的API 加速cache:存储从regionServer返回的信息,不过容量较小,由参数hbase.client.write.buffer控制 HMaster 负责分散读访问到不同的RegionServer Balancer:负责将数据分散 阅读全文
posted @ 2017-09-05 18:49 wyett 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 数据一致性 zookeeper的数据一致性,是通过分布式2parse commit实现的,过程如下 收到写入请求的follewer节点,将写入请求转发给leader leader收到后,向所有follewer节点发送写操作, follewer节点收到写操作请求后,返回ack给leader节点 lea 阅读全文
posted @ 2017-09-03 16:35 wyett 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 测试环境 机器配置 linux container 4C/16G/300GSSD 8C/32G/300GSSD 测试对象 版本引擎参数配置 4C/16G 8C/32G mongodb3.2.6 wiredTiger cacheSizeGB:12 syncPeriodSecs: 1 collectio 阅读全文
posted @ 2017-09-01 18:05 wyett 阅读(4129) 评论(1) 推荐(1) 编辑
摘要: 集群架构 搭建一套测试集群,共三个节点,每个节点上面都有procuder/broker/consumer角色。没有WebUI页面,架构如下: kafka架构 在系统架构中,将消息系统独立可起到架构解耦、易扩展、灵活性强、可恢复、数据冗余、异步通讯等优点。 kafka是分布式消息系统软件,实现了消息发 阅读全文
posted @ 2017-09-01 17:11 wyett 阅读(5498) 评论(0) 推荐(0) 编辑
摘要: 服务器配置 Dell/R730XD 2620V4*2 16G DDR4*4 300G SAS*2+6T SAS*12 oracle linux 6.9 基础知识 RAID0 raid0组成方式:1块或多块磁盘组成,磁盘a写一部分数据,b写一部分,...,通过将数据分散到不同的磁盘,来提升速度,因此速 阅读全文
posted @ 2017-09-01 16:23 wyett 阅读(4746) 评论(0) 推荐(0) 编辑
摘要: 事件 lxc宿主机10.11.164.28上所有mongodb数据节点,在同一时刻报错:failed to create thread after accepting new connection, closing connection 宿主机版本:oracle linux 6.5,lxc版本:1. 阅读全文
posted @ 2017-08-31 15:50 wyett 阅读(1635) 评论(0) 推荐(0) 编辑
摘要: 最近业务反馈一个查询异常的问题,需要DBA对查询结果异常给出解释,并帮助他们解决该问题。问题本质是一个组内排序取最大值的问题,根据业务需求,我构建了测试用例 测试用例 --建表 create table testorder (id int not null, no int not null, nam 阅读全文
posted @ 2017-08-30 14:23 wyett 阅读(2673) 评论(0) 推荐(0) 编辑