以下内容出自:> Ladies and gentlemen,May I get your attention,Please?,Now I’m going to talk about decoratorpattern.装饰模式在中国使用的那实在是多,中国的文化是中庸文化,说话或做事情都不能太直接,需....
分类:
其他好文 时间:
2014-07-19 21:31:22
阅读次数:
271
背景:我们服务器的环境,是ESX server,上面跑了几十台虚拟的服务器。大部分都是虚拟的Windows服务器,然后呢每个应用程序都会有几台APP服务器然后安装Websphere来构建cluster来支持,Web服务器方面呢,既有IBM的HTTP server,也有IIS。环境就是这样了,这次是为...
分类:
Web程序 时间:
2014-07-19 20:24:42
阅读次数:
269
Dig The Wells
Time Limit: 6000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 971 Accepted Submission(s): 416
Problem Description
You may all know t...
分类:
其他好文 时间:
2014-07-18 21:23:38
阅读次数:
242
DescriptionConsidering a light entering three adjacent planes of glass.At any meeting surface, the light may either reflect or continue straight throu...
分类:
其他好文 时间:
2014-07-18 21:11:27
阅读次数:
207
错误:
rake aborted!
Gem::LoadError: You have already activated rake 10.3.2, but your Gemfile requires rake 10.1.1. Prepending `bundle exec` to your command may solve this.
解决:
bundle exec rake d...
分类:
其他好文 时间:
2014-07-17 10:31:22
阅读次数:
209
MySQL支持数个存储引擎作为对不同表的类型的处理器。MyISAM,MEMORY,InnoDB,NDB Cluster,ARCHIVE,CSV,BLACKHOLE,FEDERATED.MyISAM是默认存储引擎。它基于更老的ISAM代码,但有很多有用的扩展。MyISAM管理非事务表。它提供高速存储和...
分类:
数据库 时间:
2014-07-16 16:10:15
阅读次数:
246
集群安装总览参见这里Zookeeper的配置 1,/etc/profile中加入zk的路径设置,见上面背景说明。 2,进入~/zk/conf目录,复制zoo_sample.cfg为zoo.cfg vim zoo.conftickTime=2000initLimit=10syncLimit=5dat....
分类:
其他好文 时间:
2014-07-14 23:08:46
阅读次数:
430
yarn.resourcemanager.ha.enabled true yarn.resourcemanager.ha.rm-ids ...
分类:
其他好文 时间:
2014-07-14 19:48:02
阅读次数:
359
【集群环境】
管理节点 10.0.0.19
数据节点 10.0.0.12
10.0.0.17
sql节点 10.0.0.18
10.0.0.22
1. 添加mysql用户
# groupadd mysql
# useradd mysql -g mysql
2. 安装m...
分类:
数据库 时间:
2014-07-14 18:03:39
阅读次数:
310
1.先在所有数据库服务器上安装mysql-cluster包管理机:192.168.1.6数据节点:192.168.1.31192.168.1.32sql节点:192.168.1.33192.168.1.1112.在管理节点上配置[root@mysql~]#vim/etc/config.ini[ndbddefault]//数据节点公共配置
noofreplicas=2//数据备份数
datamemory=300M//..
分类:
数据库 时间:
2014-07-14 11:40:15
阅读次数:
349