基础配置:Hadoop 2.2.0,Hbase
0.96。四台集群机器,一台master,三台slave。三台slave上分别装gmond;namenode机器上设置datasource。客户端:安装wget:sudo
yum -y install wget安装epel库: a) 下载epel r....
分类:
其他好文 时间:
2014-07-22 23:08:34
阅读次数:
573
1. 下载YCSB 0.1.3:wget
https://github.com/brianfrankcooper/YCSB/archive/0.1.3.tar.gz2. 解压缩:tar zxvf
0.1.3.tar.gz3.安装ant:sudo yum install ant4.把hadoop和hb...
分类:
其他好文 时间:
2014-07-22 23:08:34
阅读次数:
412
Redis是一个简单高效的内存KV数据库,基本上下载源码make
install,编译完成,然后进入src目录运行redis-server即可运行。就是因为这么简单往往有朋友直接运行,将没有密码的redis暴漏外网,最终数据被泄漏。鉴于这些血泪的教训,有必要来说一下redis的配置文件,当然这也比较...
分类:
其他好文 时间:
2014-07-22 23:07:55
阅读次数:
378
public
booleanonInterceptTouchEvent(MotionEventev) Implement this method to intercept
all touch screen motion events. This allows you to watch events....
分类:
移动开发 时间:
2014-07-22 23:07:55
阅读次数:
537
#安装1.进入Eclipse, Help->Install New
Software,点击Add按钮:Name: PyDev(随意) Location:
http://pydev.org/updates2.选择PyDev下的PyDev for Eclipse,别的都不要选,否则依赖检查那关过不去。按...
分类:
编程语言 时间:
2014-07-22 23:07:35
阅读次数:
415
Definition: see
wikihttp://en.wikipedia.org/wiki/Binary_search_tree 1 /* 2 This look up is a
fast operation because you eliminate the half 3 t...
分类:
其他好文 时间:
2014-07-22 23:06:34
阅读次数:
330
yum install readline-develyum install
readlineokcgdb配置命令:http://cgdb.sourceforge.net/docs/cgdb.html/Configuring-CGDB.html#Configuring-CGDB
分类:
数据库 时间:
2014-05-01 16:24:45
阅读次数:
1102
原题地址:http://oj.leetcode.com/problems/reorder-list/题意:Given
a singly linked listL:L0→L1→…→Ln-1→Ln,reorder it to:L0→Ln→L1→Ln-1→L2→Ln-2→…You
must do this...
分类:
编程语言 时间:
2014-05-01 15:37:03
阅读次数:
441
1、从下面的地址下载
lrzsz-0.12.20.tar.gzhttps://ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz2、查看里面的INSTALL文档了解安装参数说明和细节3、解压文件代码如下:tar
zxvf lrzsz-0.12.20.tar.gz4、进...
分类:
其他好文 时间:
2014-05-01 15:05:56
阅读次数:
302
About In-App PurchaseIn-App Purchase allows you
to embed a store inside your app using the Store Kit framework. This framework
connects to the App Sto...
分类:
移动开发 时间:
2014-05-01 14:45:53
阅读次数:
519